mohamedfayez / bitly
Shorten Long Urls Using Bitly Api
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/mohamedfayez/bitly
This package is auto-updated.
Last update: 2025-12-25 06:38:55 UTC
README
bitly Package used Shorten Long Urls Using Bitly Api
to install run this command
composer require mohamedfayez/bitly
then publish vendor throw this command
php artisan vendor:publish --tag="bitlyConfig"
to use Bitly
use Bitly;
Route::get('/', function () {
return Bitly::shorten('https://web.facebook.com');
});
the static method shorten accept one paramter the url you want to shorten