jigius / url-safe-base64
Simple library for url safe base64 manipulations
1.0.0
2016-12-15 05:38 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-10-22 17:04:25 UTC
README
Simple library for url safe base64 manipulations
Installation
Installation is best managed via Composer.
{ "require": { "jigius/url-safe-base64": "1.0.*" } }
Or:
composer require jigius/url-safe-base64=1.0.*
Usage
<?php $encoded = \Jigius\UrlSafeBase64\Assets::encode("Hello world."); echo \Jigius\UrlSafeBase64\Assets::decode($encoded);
Methods
- string \Jigius\UrlSafeBase64\Assets::encode( string $string )
- string \Jigius\UrlSafeBase64\Assets::decode( string $string )