dev-master
9999999-devUrl Shortener.
MIT
The Requires
The Development Requires
url shortener shorter
v0.1.0
0.1.0.0Url Shortener.
MIT
The Requires
The Development Requires
url shortener shorter
Wallogit.com
2017 © Pedro Peláez
Url Shortener.
This Package can be installed through the composer., (*1)
In order for the package to be automatically added to your composer.json file, run the following command:, (*2)
composer require fireguard/url-shortener
Or if you prefer, add the following snippet manually:, (*3)
{
"require": {
...
"fireguard/url-shortener": "^0.1"
}
}
Basic instructions for usage., (*4)
Generate Google API Key, (*5)
https://developers.google.com/console/help/generating-dev-keys, (*6)
$google = new GoogleUrlShortener('YOUR_GOOGLE_KEY');
$url = $google->shorten('https://google.com.br/');
$toLy = new Fireguard\UrlShortener\ToLyUrlShortener();
$url = $toLy->shorten('https://google.com.br/');
Url Shortener.
MIT
url shortener shorter
Url Shortener.
MIT
url shortener shorter