PHP code example of sendinblue / base-32

1. Go to this page and download the library: Download sendinblue/base-32 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/ */

    

sendinblue / base-32 example snippets




use SendinBlue\Base32;

echo
    Base32::encode('foobar'),           // MZXW6YTBOI======
    Base32::encode('foobar', false),    // MZXW6YTBOI
    Base32::decode('MZXW6YTBOI======'), // foobar
    Base32::decode('MZXW6YTBOI')        // foobar
;