Using this package, you may encode string data with Lempel–Ziv–Welch (LZW) algorithm and decode back.
- PHP >=7.2|^8.0
- ext-mbstring - for handling multibyte string (should be available on most systems)
You can install this package via composer:
composer require faytekin/lzw
Or add the following to your composer file:
{
"require": {
"faytekin/lzw": "^1.0"
}
}