ekkalak / rebrandly-short-url
PHP short url with Rebrandly
1.0.0
2020-04-07 11:39 UTC
Requires
- php: >=5.6
- guzzlehttp/guzzle: >=6.5.1
This package is auto-updated.
Last update: 2025-07-07 22:59:00 UTC
README
Rebrandly - Short and share URL with PHP.
Requirement
- Rebrandly API https://rebrandly.com
- PHP
- Composer
- Guzzle Client
Install
composer require ekkalak/rebrandly-short-url
Usage
<?php require_once '../vendor/autoload.php'; use Ekkalak\Rebrandly\ShortURL; $short_url = new ShortURL('YOUR-API-HERE', 'YOUR-WORKSPACE'); // Make your link shorter // slashtag is not available // https://developers.rebrandly.com/docs $response = $short_url->shortUrl('https://www.your-domain.com/your-url', 'test short url', 'your-domain'); var_dump($response);