PHP code example of justbetter / statamic-image-optimize

1. Go to this page and download the library: Download justbetter/statamic-image-optimize library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

justbetter / statamic-image-optimize example snippets


php artisan queue:batches-table
php artisan migrate

php artisan vendor:publish --provider="JustBetter\ImageOptimize\ServiceProvider"

php artisan justbetter:optimize:images