Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

PHP URL Shortening encoder/decoder class.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Source
Octocat-spinner-32 Test
Octocat-spinner-32 README.md
README.md

PHP Shortener

Facilitates encoding/decoding of URLs with shortening services, such as

  • is.gd
  • tinyurl.com
  • bit.ly
  • twurl.nl
  • tr.im

Changelog

  • 0.1: initial release
  • 0.2: added digg.com. encode() now returns the passed URL if shortening failed. fetch() sends user agent

By Guillermo Rauch

Something went wrong with that request. Please try again.