php-extended/php-url-redirecter-atu-ca

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 atu.ca website

3.1.14 2021-06-25 19:32 UTC

This package is auto-updated.

Last update: 2021-06-27 16:09:41 UTC


README

Library to retrieve hidden links from atu.ca 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-atu-ca": "^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\AtuCaRedirecter;

$url = '<put your atu.ca url here>';

$redirecter = new AtuCaRedirecter();

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

// $res is now an array with one result: the redirection url

License

MIT (See license file).