1. Go to this page and download the library: Download larsvg/lvgimages 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/ */
larsvg / lvgimages example snippets
new WebPProcessor($image, 512, 256);
new WebPProcessor($image, 768, 384);
new WebPProcessor($image, 1024, 512);
new WebPProcessor($image, 1536, 1024);
new FallbackImageProcessor($image, 1536, 1024);
bash
php artisan vendor:publish --tag=lvgimages
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.