Skip to content
Plugin and modification done to Premium URL Shortener
Branch: master
Clone or download
Latest commit 07ad4b9 May 7, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update Mar 4, 2019
API Update Feb 2, 2019
Languages Update it.php May 7, 2019
Themes Update Jan 28, 2019 Create Mar 4, 2019 Update Feb 25, 2019 Fixed GeoIP Dec 28, 2014


This repository is used to share plugins, languages and other stuff for verified buyers. You can buy Premium URL Shortener at

Found an issue?

If you have found an issue with the main script, open an "Issue" and we will resolve it as soon as possible.

Help Contribute

Send us pull requests and help improve the code.

Premium URL Shortener PHP API Wrapper

The official API wrapper for Premium URL Shortener

Your first integration

The example below shows you how to shorten a URL without any other parameters. You need to get your API key from the settings page of the user control panel


$shortener = new kbrmedia\Shortener();

// Set the URL & API key

// Simple call
echo $shortener->shorten("");

Get short URL directly

To get the Short URL directly without having to deal with json you can chain the getShort() method as below

// Get short URL directly
echo $shortener->getShort()->shorten("");

Advanced Call

To customize the URL, you can use the below to set a custom alias and the format - which in this case is in text

// Custom Alias

// Format: text or json

echo $shortener->shorten("");

Unshorten a URL or Get more data

This sample allows you to unshorten a URL and some data

echo $shortener->unshorten("");
You can’t perform that action at this time.