PHP code example of flaviovs / yii2-imagefilters

1. Go to this page and download the library: Download flaviovs/yii2-imagefilters 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/ */

    

flaviovs / yii2-imagefilters example snippets


[
    'class' => \fv\yii\imagefilters\Thumbnail::class,
    'width' => 100,
    'height' => 100,
    'mode' => \Imagine\Image\ImageInterface::THUMBNAIL_INSET,
]