erykai / compress
Compress media, files and images
Fund package maintenance!
Erykai
Requires
- php: >=8.0
- ext-fileinfo: *
- ext-gd: *
- ext-imagick: *
README
Reduce the size of images, pdf, audio and videos
Installation
Composer:
"erykai/compress": "1.0.*"
Terminal
composer require erykai/compress
Compress img .jpg, .gif, .png and more
use Erykai\Compress\Compress; require "vendor/autoload.php"; (new Compress(__DIR__ . "/storage/", "file.jpg", 25))->img()->send();
Compress pdf
use Erykai\Compress\Compress; require "vendor/autoload.php"; (new Compress(__DIR__ . "/storage/", "file.pdf", 25))->pdf()->send();
Contribution
All contributions will be analyzed, if you make more than one change, make the commit one by one.
Support
If you find faults send an email reporting to webav.com.br@gmail.com.
Credits
- Alex de O. Vidal (Developer)
- All contributions (Contributors)
License
The MIT License (MIT). Please see License for more information.