php-extended/php-url-redirecter-generic

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 generic website


README

Library to retrieve hidden links from any simple redirecter 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-generic": "^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.

Supported domains

https requests

  • app.link (branch.io)
  • bit.do
  • bit.ly
  • buff.ly
  • clk.im
  • geni.us
  • goo.gl
  • is.gd
  • ity.im
  • lmgtfy.com
  • ovh.to
  • po.st
  • psbe.co
  • rebrand.ly (rebrandly.click, rebrandly.xyz)
  • short.cm
  • smarturl.it
  • snip.ly
  • snipli.com
  • t.co
  • tiny.cc
  • tinyurl.com
  • tr.im
  • urlsgalore.com
  • v.gd
  • youtu.be

http requests

  • 9nl.at (clickmeter.com)
  • beam.to
  • bfy.tw
  • clkme.in
  • cutt.us
  • cur.lv
  • easyurl.net
  • georiot.co
  • goshrink.com
  • hyperurl.co
  • mcaf.ee
  • ow.ly
  • redirects.ca
  • shorl.com
  • slink.co
  • snip.li
  • tiny.pl
  • u.to
  • utm.io

Basic Usage

You may use this library the following way:


use PhpExtended\UrlRedirecter\GenericRedirecter;

$url = '<put your generic url here>';

$redirecter = new GenericRedirecter();

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

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

License

MIT (See license file).