PHP code example of mondaydarknight / libthumbor

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

    

mondaydarknight / libthumbor example snippets


use Thumbor\Facades\Thumbor;

$url = (string) Thumbor::url('https://dummyimage.com/600x400.jpg')
    ->resize(100, 100);
console
php artisan vendor:publish --provider="Thumbor\ThumborServiceProvider" --tag=config