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.
composer require nsmle/ouo-bypass
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'];
Licensed under the terms of the MIT License.