php-extended/php-url-redirecter-ushortlinks-com

This package is abandoned and no longer maintained. The author suggests using the php-extended/php-url-redirecter-object package instead.

Library to retrieve hidden links from ushort-links.com website

3.1.17 2021-06-25 15:05 UTC

README

Library to retrieve hidden links from ushort-links.com website

coverage build status

Installation

The installation of this library is made via composer. Download composer.phar from their website. Then add to your composer.json :

	"require": {
		...
		"php-extended/php-url-redirecter-ushortlinks-com": "^3"
		...
	}

Then run php composer.phar update to install this library. The autoloading of all classes of this library is made through composer's autoloader.

Basic Usage

You may use this library the following way:


use PhpExtended\UrlRedirecter\UshortlinksComRedirecter;

$url = '<put your ushort-links.com url here>';

$redirecter = new UshortlinksComRedirecter();

$res = $redirecter->getRedirections($url);

// $res is now an array with one or many results: the redirection url

License

MIT (See license file).