| Recommend this page to a friend! | 
|  Download | 
| Info | Documentation |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not enough user ratings | Total: 164 | All time:  8,925 This week: 47  | ||||
| Version | License | PHP version | Categories | |||
| anybase 1.0 | Freeware | 5 | PHP 5, Text processing, Math | 
| Description | Author | ||||||||
| This class can encode and decode numbers in any base up to 65, where PHP base_convert only works up to 36. | 
 
 | 
Create a base numbering system to meet your needs.
Designed to create short urls based on a decimal id number - the default charset contains the unreserved URL characters and is good up to base65.
Using AnyBase is simple. Simply, initialize an object with or without a charset and use it to encode or decode a number.
$b65 = new AnyBase();
$original = 1000000;
$encoded = $b65->encode($original); // '3FIE'
$decoded = $b65->decode($encoded); // 1000000
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
|  Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
 | 
 | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.