A simple url shortener for Laravel.
This package can be installed via composer using this command:
composer require dmitrybubyakin/laravel-urls-shortenerYou can publish the migration and the config file with:
php artisan vendor:publishAdd the following in the web.php file:
Shortener::routes();Shortener::getShortUrl('https://google.com')
// or you can use a helper
shorten('https://google.com')