cogpowered/shortener

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

0.0.2 2013-03-14 17:13 UTC

This package is auto-updated.

Last update: 2020-03-30 00:24:51 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');