2017 © Pedro Peláez
 

library url-shortener

The official UX9 URL Shortener API for Laravel Users.

image

laravel-junkies/url-shortener

The official UX9 URL Shortener API for Laravel Users.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 13 % Grown

The README.md

UX9 URL Shortener API

The official UX9 URL Shortener API for Laravel Users. NOTE: a UX9 API Key is required., (*1)

Total Downloads Latest Stable Version Latest Unstable Version License, (*2)

Installation

To get the latest version of Laravel Junkies UX9-URL-Shortener, you can use the Composer require command:, (*3)

$ composer require laravel-junkies/url-shortener

If you want to install a specific version, update your require block and run composer update:, (*4)

{
    "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:, (*5)

  • LaraJunkie\Url\UrlShortenerProvider::class,

Also you can register the facade in aliases if you like., (*6)

  • 'Shortener' => LaraJunkie\Url\Shortener::class,

Configuration

Laravel Junkies UX9-URL-Shortener requires a configuration file., (*7)

To get started, you have to publish it:, (*8)

$ 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., (*9)

Usage

$url = Shortener::short('http://example.com');

License

Laravel Junkies UX9-URL-Shortener is licensed under The MIT License (MIT)., (*10)

The Versions

24/03 2016

dev-master

9999999-dev http://ux9.de

The official UX9 URL Shortener API for Laravel Users.

  Sources   Download

MIT

The Requires

 

url shortener tobymaxham ux9

24/03 2016

v1.0

1.0.0.0 http://ux9.de

The official UX9 URL Shortener API for Laravel Users.

  Sources   Download

MIT

The Requires

 

url shortener tobymaxham ux9