https://github.com/hevertonfreitas/base65536
Base65536 implementation in PHP
https://github.com/hevertonfreitas/base65536
Last synced: about 1 month ago
JSON representation
Base65536 implementation in PHP
- Host: GitHub
- URL: https://github.com/hevertonfreitas/base65536
- Owner: hevertonfreitas
- License: mit
- Created: 2016-03-22T00:28:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-22T13:39:23.000Z (about 9 years ago)
- Last Synced: 2024-07-31T20:36:34.213Z (9 months ago)
- Language: PHP
- Size: 11.7 KB
- Stars: 17
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome - hevertonfreitas/base65536 - Base65536 implementation in PHP (PHP)
README
# Base65536
[](https://travis-ci.org/hevertonfreitas/base65536)
[](https://packagist.org/packages/hevertonfreitas/base65536)
[](https://packagist.org/packages/hevertonfreitas/base65536)
[](https://packagist.org/packages/hevertonfreitas/base65536)
[](https://styleci.io/repos/54432774)
[](http://opensource.org/licenses/MIT)PHP implementation of the [base65536](https://github.com/ferno/base65536) algorithm.
## Installation
```bash
composer require hevertonfreitas/base65536
```## Usage
```php
require 'vendor/autoload.php';use \Hevertonfreitas\Base65536\Base65536;
$encodedString = Base65536::encode('hello world'); // Output: 驨ꍬ啯𒁷ꍲᕤ
$decodedString = Base65536::decode($encodedString); // Output: hello world
```## Credits
Javascript original implementation: [base65536](https://github.com/ferno/base65536).## License
The MIT License (MIT)