cogpowered / shortener
Encodes integers as short string and back. Useful in URL shorteners.
0.0.2
2013-03-14 17:13 UTC
Requires
- php: >=5.3.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-29 04:19:44 UTC
README
Currently this is a port of jakoubek/php-recordlocator.
It has been tidied up, namespaced and proper Composer support added.
Usage
$shortener = new cogpowered\Shortener\Shortener; echo $shortener->encode(81906); echo $shortener->decode('4IZL');