PHP code example of vadymsemeniuk / yii2-file-processor-module
1. Go to this page and download the library: Download vadymsemeniuk/yii2-file-processor-module 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/ */
vadymsemeniuk / yii2-file-processor-module example snippets
./yii migrate --migrationPath=@vendor/metalguardian/yii2-file-processor-module/src/migrations
'thumbImage' => [
'action' => FPM::ACTION_THUMBNAIL,
'width' => 330,
'height' => 330,
'quality' => 75,
],
php composer.phar
ImageCompressor::compressPngThumbs($path);