this repo has no description
at main 2.4 kB view raw
1<?php 2 3return [ 4 5 /* 6 |-------------------------------------------------------------------------- 7 | Default Filesystem Disk 8 |-------------------------------------------------------------------------- 9 | 10 | Here you may specify the default filesystem disk that should be used 11 | by the framework. The "local" disk, as well as a variety of cloud 12 | based disks are available to your application. Just store away! 13 | 14 */ 15 16 'default' => env('FILESYSTEM_DISK', 'local'), 17 18 /* 19 |-------------------------------------------------------------------------- 20 | Filesystem Disks 21 |-------------------------------------------------------------------------- 22 | 23 | Here you may configure as many filesystem "disks" as you wish, and you 24 | may even configure multiple disks of the same driver. Defaults have 25 | been set up for each driver as an example of the required values. 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 'throw' => false, 37 ], 38 39 'public' => [ 40 'driver' => 'local', 41 'root' => storage_path('app/public'), 42 'url' => env('APP_URL').'/storage', 43 'visibility' => 'public', 44 'throw' => false, 45 ], 46 47 's3' => [ 48 'driver' => 's3', 49 'key' => env('AWS_ACCESS_KEY_ID'), 50 'secret' => env('AWS_SECRET_ACCESS_KEY'), 51 'region' => env('AWS_DEFAULT_REGION'), 52 'bucket' => env('AWS_BUCKET'), 53 'url' => env('AWS_URL'), 54 'endpoint' => env('AWS_ENDPOINT'), 55 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), 56 'throw' => false, 57 ], 58 59 ], 60 61 /* 62 |-------------------------------------------------------------------------- 63 | Symbolic Links 64 |-------------------------------------------------------------------------- 65 | 66 | Here you may configure the symbolic links that will be created when the 67 | `storage:link` Artisan command is executed. The array keys should be 68 | the locations of the links and the values should be their targets. 69 | 70 */ 71 72 'links' => [ 73 public_path('storage') => storage_path('app/public'), 74 ], 75 76];