Skip to content

CrazyPHP/StopHide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StopHide

You want to know what on the other side of shorten url? Use StopHide.

require __DIR__.'/../vendor/autoload.php';

$url = 'https://goo.gl/LhFmV5';

$stph = new \CrazyPHP\StopHide\StopHide(5, 'cookie.txt', 15, 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0');

$result = $stph->resolve($url);
var_dump($result);
array(4) {
  ["end_url"]=>
  string(23) "https://www.amazon.com/"
  ["status"]=>
  string(5) "found"
  ["history"]=>
  array(2) { /* history */ }
  ["query_count"]=>
  int(2)
}

About

Unshorten, unhide short links.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages