nsmle/ouo-bypass 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nsmle/ouo-bypass

最新稳定版本:v1.0.0

Composer 安装命令:

composer require nsmle/ouo-bypass

包简介

A PHP library to bypass ouo.io/press short links

README 文档

README

A PHP library to bypass short links ouo.io or ouo.press.

If you like or use this package, please share your love by starring this repository, or follow @nsmle.

Installation

composer require nsmle/ouo-bypass

Usage

require 'vendor/autoload.php';

use Nsmle\OuoBypass\Api;

$ouo = new Api();
$ouo->setOriginUrl("https://ouo.press/ZGawzS");
$ouo->bypass();
$link = $ouo->getDestinationUrl();

echo $link;

Or if you want something simpler you can try some code like below:

$ouo = new Api("https://ouo.press/ZGawzS");
$ouo->bypass();
$link = $ouo->getDestinationUrl();

or

$ouo = new Api("https://ouo.press/ZGawzS");
$link = $ouo->bypass()['destination-url'];

License

Licensed under the terms of the MIT License.

统计信息

  • 总下载量: 285
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-04-12