Url-shortener is a project mainly written in PHP, it's free.
A simple URL shortener library
A simple and lightweight URL shortner library for PHP.
It is designed to be able to handle thousands of requests a second.