Shortener makes it easy to create shortened URLs for your rails application.
This package written under PHP 5.4 or newer. its simple to install only Download it and use it.
Or just let Composer do that for you, Call [23y4d/CoreShortUrl] from Composer
{
"require": {
"php": ">=5.4",
"23y4d/CoreShortUrl": "1.0.*"
}
}
#Edit file config.php
define('HOST','localhost');
define('USER','username Phpmyadmin');
define('PASSWORD','password Phpmyadmin');
define('DATABASE','just add name do not CREATE ');
define('TABLE',' name TABLE do not CREATE');
Copyright 2015 under MIT License.