| Package Data | |
|---|---|
| Maintainer Username: | TobyMaxham | 
| Maintainer Contact: | git2019@maxham.de (TobyMaxham) | 
| Package Create Date: | 2015-08-14 | 
| Package Last Update: | 2019-03-23 | 
| Language: | PHP | 
| License: | MIT | 
| Last Refreshed: | 2025-10-30 03:04:11 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 1,137 | 
| Monthly Downloads: | 0 | 
| Daily Downloads: | 0 | 
| Total Stars: | 0 | 
| Total Watchers: | 1 | 
| Total Forks: | 0 | 
| Total Open Issues: | 0 | 
The official UX9 URL Shortener API for Laravel Users. NOTE: a UX9 API Key is required.
To get the latest version of Laravel Junkies UX9-URL-Shortener, you can use the Composer require command:
$ composer require laravel-junkies/url-shortener
If you want to install a specific version, update your require block and run composer update:
{
    "require": {
        "laravel-junkies/url-shortener": "^2.0"
    }
}
Once Laravel Junkies UX9-URL-Shortener is installed, you need to register the service provider in config/app.php. Add the following to providers:
LaraJunkie\Url\UrlShortenerProvider::class,
Also you can register the facade in aliases if you like.
'Shortener' => LaraJunkie\Url\Shortener::class,
Laravel Junkies UX9-URL-Shortener requires a configuration file.
To get started, you have to publish it:
$ php artisan vendor:publish --tag=lj-shortener
This will create a config/lj-shortener.php file in your config directory. Here you have to add your UX9 API Token.
$url = Shortener::short('http://example.com');
Laravel Junkies UX9-URL-Shortener is licensed under The MIT License (MIT).