darshphpdev/bitly-shortner

Shorten Long Urls Using Bitly Api

dev-master 2021-07-09 22:43 UTC

This package is auto-updated.

Last update: 2025-04-10 07:41:05 UTC


README

Shorten Long Urls Using Bitly Api.

INSTALLATION

Install the package through Composer.

composer require darshphpdev/bitly-shortner

CONFIGURATION

Optional configuration file (useful if you plan to have full control)

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

HOW TO USE

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