PHP code example of flowan / laravel-filesystem-http

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

    

flowan / laravel-filesystem-http example snippets




return [
    'disks' => [
        // ...
        
        'warehouse' => [
            'driver' => 'http',
            'token' => env('WAREHOUSE_TOKEN'),
            'url' => env('WAREHOUSE_URL'),
            'public_url' => env('WAREHOUSE_PUBLIC_URL', env('WAREHOUSE_URL')),
            'bucket' => env('WAREHOUSE_BUCKET'),
            '