cogpowered/shortener

Encodes integers as short string and back. Useful in URL shorteners.

Installs: 135

Dependents: 0

Stars: 3

Watchers: 3

Language: PHP

0.0.2 2013-03-14 17:13 UTC

README

Currently this is a port of jakoubek/php-recordlocator.

It has been tidied up, namespaced and proper Composer support added.

Build Status

Usage

$shortener = new cogpowered\Shortener\Shortener;
echo $shortener->encode(81906);
echo $shortener->decode('4IZL');