/bitly-shorten

Shorten long urls by using Bitly Api

Primary LanguagePHP

Laravel Bitly Shortner Package

Shorten long urls by using Bitly Api

INSTALLATION

Install the package through Composer.

composer require darshphpdev/bitly-shortner

CONFIGURATION

to make your own token to can use bitly api

php artisan vendor:publish --tag="bitlyconfig"

Quick Usage

// In your controller
// Use The Helper class Bitly to shorten urls
use Bitly;

return Bitly::shorten('https://www.youtube.com');

Credits

License

The Http Client Package is open-sourced software licensed under the MIT license