agl / more-encoder
AGL Framework / Encoder module.
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/agl/more-encoder
Requires
This package is not auto-updated.
Last update: 2020-12-19 09:34:31 UTC
README
Additional Encoder module for AGL Framework.
Installation
Run the following command in the root of your AGL application:
php composer.phar require agl/more-encoder:*
Configuration
Edit app/etc/config/more/encoder/main.php
and enter a key (used to encode and decode strings, must be unique).
Usage
$encoder = Agl::getInstance('more/encoder');
Encode string:
$encoder->encode('string');
Decode string:
$encoder->decode($encodedString);