mervick / aaencoder
Encode/decode any JavaScript program to/from Japanese style emoticons
Installs: 1 585
Dependents: 0
Suggesters: 0
Security: 0
Stars: 42
Watchers: 3
Forks: 18
Open Issues: 1
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-12-17 05:53:00 UTC
README
PHP AAEncoder and AADecoder
AAEncoder
- Encode any JavaScript program to Japanese style emoticons (^_^).
AADecoder
- Decode encoded as aaencode JavaScript program. (゚Д゚) ['_']
Installation via Composer
composer require "mervick/aaencoder"
Usage
// aaencode: echo AAEncoder::encode(file_get_contents('/path/to/file.js')); // Also, you can customize encoding level, may be >= 0, default 0. // Be careful, the greater the level of encryption the larger output file. // It is not recommended to use more than 3 echo AAEncoder::encode(file_get_contents('/path/to/file.js'), 2); // aadecode: echo AADecoder::decode(file_get_contents('/path/to/encoded.js'));
Requirements
PHP >= 5.4
License
MIT