laravel-lzw maintained by openbitapp
Description
LZW Compressor/Decompressor for Laravel
Author
Last update
2019/06/18 19:46
(dev-master)
License
Downloads
32
Tags
Laravel LZW
Lempel–Ziv–Welch (LZW) is a universal lossless data compression algorithm. This package offers support for compressing and decompressing data using LZW.
Installation
You can install the package via composer:
composer require openbitapp/laravel-lzw
The package registers itself and his facade automatically.
Usage
You can compress and decompress data using the facade.
$data = LZW::compress('String data to compress');
$data->toString();
$data->toArray();
$data->toJson();
LZW::decompress($data->toString());
LZW::decompress($data->toArray());
Testing
./vendor/bin/phpunit
Credits
License
The MIT License (MIT). Please see License File for more information.