This PHP class was completely re-written from the ground up to provide for more reusable components within the class itself. In doing so, I've also made it easier for adding additional services this class.
Included Services
Below is the list of services that are currently packaged within the class:
bit.ly
Su.pr
tinyurl
Ping.fm
Digg
is.gd
snipurl / Snurl / Snipr / Sn.im / Cl.lk
cl.gs
short.ie
chilp.it
smsh (aka sm00sh)
unfake.it
awe.sm
Voizle
soso.bz
tynie.net
Yourls (Still unstable, experimenting)
Interdose API
cuthut.com
Removed services
u.nu
Class Usage
Description
Function / Property
Initiate new Class instance
$shorturl = new FTShorten();
Define Service
$shorturl->service
Define URL to Shorten
$shorturl->url
Define Username
$shorturl->name
Define API Key/Password
$shorturl->apikey
Define Pingfm Developer API Key
$shorturl->pingfmapi
Returning the Shorturl
$shorturl->shorturl()
Generic variable (Depends on service.. check out source code on usage)