PHP code example of carlosafonso / php-base24

1. Go to this page and download the library: Download carlosafonso/php-base24 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

carlosafonso / php-base24 example snippets

 bash
$ composer 
 php
$encoder = new \Afonso\Base24\Encoder();
$encoder->encode([0, 0, 0, 0]); // 'ZZZZZZZ'
$encoder->decode('ZZZZZZZ'); // [0, 0, 0, 0]
$encoder->decode('zzzzzzz'); // [0, 0, 0, 0]