PHP code example of jigius / url-safe-base64

1. Go to this page and download the library: Download jigius/url-safe-base64 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/ */

    

jigius / url-safe-base64 example snippets




$encoded = \Jigius\UrlSafeBase64\Assets::encode("Hello world.");

echo \Jigius\UrlSafeBase64\Assets::decode($encoded);