PHP code example of yamanhacioglu / laravel-glide

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

    

yamanhacioglu / laravel-glide example snippets


'links' => [
    /// ...
    public_path('glide') => storage_path('framework/cache/glide'),
    // ...
],
 artisan storage:link

Glide::getUrl('image.jpg', ['w' => 500, 'blur' => '5']);
glide.php
bash
php artisan vendor:publish --provider="NorthLab\Glide\GlideServiceProvider" --tag="config"
filesystems.php
bash
php artisan vendor:publish --provider="NorthLab\Glide\GlideServiceProvider" --tag="views"
bash
php artisan glide:clear