PHP code example of optimistdigital / laravel-thumbor
1. Go to this page and download the library: Download optimistdigital/laravel-thumbor 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/ */
optimistdigital / laravel-thumbor example snippets
echo \Thumbor::url('https://example.com/photo.jpg)->resize(160, 90)->build();
php artisan vendor:publish --provider="Outl1ne\LaravelThumbor\ServiceProvider" --tag="config"