Short-Url is a project mainly written in ..., it's free.
code to create short urls on your own site
This repo is a code in php to create custom short urls on your site