Skip to content

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

License

Notifications You must be signed in to change notification settings

nsmle/ouo-bypass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ouo.io Bypass

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.