CoolFace
Apppublic

kenken999/php

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
filesystems.php74 linesDownload Raw Back to config
1<?php2 3return [4 5    /*6    |--------------------------------------------------------------------------7    | Default Filesystem Disk8    |--------------------------------------------------------------------------9    |10    | Here you may specify the default filesystem disk that should be used11    | by the framework. The "local" disk, as well as a variety of cloud12    | based disks are available to your application. Just store away!13    |14    */15 16    'default' => env('FILESYSTEM_DRIVER', 'local'),17 18    /*19    |--------------------------------------------------------------------------20    | Filesystem Disks21    |--------------------------------------------------------------------------22    |23    | Here you may configure as many filesystem "disks" as you wish, and you24    | may even configure multiple disks of the same driver. Defaults have25    | been setup for each driver as an example of the required options.26    |27    | Supported Drivers: "local", "ftp", "sftp", "s3"28    |29    */30 31    'disks' => [32 33        'local' => [34            'driver' => 'local',35            'root' => storage_path('app'),36        ],37 38        'public' => [39            'driver' => 'local',40            'root' => storage_path('app/public'),41            'url' => env('APP_URL').'/storage',42            'visibility' => 'public',43        ],44 45        's3' => [46            'driver' => 's3',47            'key' => env('AWS_ACCESS_KEY_ID'),48            'secret' => env('AWS_SECRET_ACCESS_KEY'),49            'region' => env('AWS_DEFAULT_REGION'),50            'bucket' => env('AWS_BUCKET'),51            'url' => env('AWS_URL'),52            'endpoint' => env('AWS_ENDPOINT'),53            'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),54        ],55 56    ],57 58    /*59    |--------------------------------------------------------------------------60    | Symbolic Links61    |--------------------------------------------------------------------------62    |63    | Here you may configure the symbolic links that will be created when the64    | `storage:link` Artisan command is executed. The array keys should be65    | the locations of the links and the values should be their targets.66    |67    */68 69    'links' => [70        public_path('storage') => storage_path('app/public'),71    ],72 73];74