php-extended/php-url-redirecter-object

实现了 php-extended/php-url-redirecter-interface 库的库

7.0.6 2024-07-31 13:30 UTC

README

从任何简单重定向网站检索隐藏链接的库

coverage build status

安装

此库的安装通过 composer 进行,所有类的自动加载通过其自动加载器完成。

  • 他们的网站下载 composer.phar
  • 然后运行以下命令将此库作为依赖项安装
  • php composer.phar php-extended/php-url-redirecter-object ^7

支持的域名

https 请求

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

http 请求

  • 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

基本用法

您可以使用此库的以下方式


use PhpExtended\UrlRedirecter\RedirecterFactory;

$factory = new RedirecterFactory();
$redirecter = $factory->createRedirecter();
// $redirecter instanceof RedirecterInterface

许可证

MIT (见 许可证文件).