Download the PHP package eric-chau/bijective without Composer
On this page you can find all versions of the php package eric-chau/bijective. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download eric-chau/bijective
More information about eric-chau/bijective
Files in eric-chau/bijective
Download eric-chau/bijective
More information about eric-chau/bijective
Files in eric-chau/bijective
Vendor eric-chau
Package bijective
Short Description Simple bijective function (base(n) encode/decode) for PHP.
License MIT
Package bijective
Short Description Simple bijective function (base(n) encode/decode) for PHP.
License MIT
Please rate this library. Is it a good library?
Informations about the package bijective
Jarvis\Math\Bijective
Bijective encodes any integer into a base(n) string where n is alphabet's length. It can be very useful if you want to create your own url shortener.
Things you should know:
Bijectivedefault alphabet isabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789. You can define your own alphabet by passing it to its constructor.Bijectivethrows exception if you try to decode unsupported char.Bijectivethrows exception if you try to decode string which start by a zero value (the first char of your defined alphabet. Given the bijective with alphabet '!?:;', the zero value is '!').- every exception throws by
Bijectiveis instance of\LogicException.
All versions of bijective with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.3
The package eric-chau/bijective contains the following files
Loading the files please wait ...