namdongvando/imagesoptimizer

1.0 2021-09-15 11:57 UTC

This package is auto-updated.

Last update: 2024-10-15 18:05:12 UTC


README

System Requirements

PHP >= 7.2

Installation Instructions

Composer is the easiest way to manage dependencies in your project. Create a file named composer.json with the following:

{
    "require": {
       "namdongvando/imagesoptimizer": "^1.0"
    }
}

And run Composer to install Imagesoptimizer:

composer require namdongvando/imagesoptimizer 

Code Samples

<?php

include './src/Images.php';
Imagesoptimizer\Images::Optimizer("test.jpg");
Imagesoptimizer\Images::OptimizerFolder("public/");
?>