PHP code example of pyaehein / laravellqip

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

    

pyaehein / laravellqip example snippets


'lqip' => [
            'driver' => 'local',
            'root' => public_path('uploads/images')
        ],

return [

    'path' => 'uploads/images',

    'disk' => 'lqip',

    'prefix' => '_lqip',

    'format' => 'jpg',

    'blur' => '99', // 0 to 100

    'quality' => '1' // 0 to 100

];
 php
PyaeHein\LQIP\LQIPServiceProvider::class,
 bash
$ php artisan vendor:publish