PHP code example of peresmishnyk / laravel-glide

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

    

peresmishnyk / laravel-glide example snippets


'disk' =>[
    // For access to files in storage
    'local' => [
        'driver' => 'local',
        'root' => storage_path('app'),
    ],
    // For access to files under vcs
    'img' => [
        'driver' => 'local',
        'root' => app_path('../public/img'),
    ],
    ...
    ];