PHP code example of amir2b / image-fit

1. Go to this page and download the library: Download amir2b/image-fit 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/ */

    

amir2b / image-fit example snippets


    'providers' => [
        // ...
        Amir2b\ImageFit\ImageFitServiceProvider::class,
    ]

    'providers' => [
        // ...
        'Amir2b\ImageFit\ImageFitServiceProvider',
    ]
shell
php artisan vendor:publish --provider="Amir2b\ImageFit\ImageFitServiceProvider"