Download the PHP package pixxet/url-shortener without Composer
On this page you can find all versions of the php package pixxet/url-shortener. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pixxet/url-shortener
More information about pixxet/url-shortener
Files in pixxet/url-shortener
Package url-shortener
Short Description A PHP5 library using API to shorten/expand URL
License MIT
Homepage https://github.com/pixxet/UrlShortener
Informations about the package url-shortener
URL shortener library
This library allows you to shorten a URL, reverse is also possible.
Basic Docs
- Installation
- Bit.ly API
- Google API
- Chain providers
- Retrieve link
- Contribution
Installation
Only 1 step:
Download UrlShortener using composer
Add UrlShortener in your composer.json:
Now tell composer to download the library by running the command:
Composer will install the library to your project's vendor/pixxet
directory.
Bit.ly API
Shorten
You can also use the commands provided by this library, look at the help message:
Some arguments are mandatory:
Some options are available:
Expand
Some arguments are mandatory:
Some options are available:
Google API
Shorten
You can also use the commands provided by this library, look at the help message:
Only one argument is mandatory (the long URL) but you can also provide a Google API key:
Some options are available:
Expand
Only one argument is mandatory (the short URL) but you can also provide a Google API key:
Some options are available:
Chain providers
Retrieve link
You can retrieve some links using these finders:
Contribution
Any question or feedback? Open an issue and I will try to reply quickly.
A feature is missing here? Feel free to create a pull request to solve it!
I hope this has been useful and has helped you. If so, share it and recommend it! :)
Credentials @mremitsme
All versions of url-shortener with dependencies
guzzlehttp/guzzle Version ^6.0
symfony/console Version 2.7 || 3.* || 4.*