PHP code example of weblabormx / intervention-plus

1. Go to this page and download the library: Download weblabormx/intervention-plus 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/ */

    

weblabormx / intervention-plus example snippets


use WeblaborMX\InterventionPlus\Image;

$image = Image::make('tests/picture.jpg')->resizeWithRatio(300, 200);