2014-08-24 13:55:10 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Default Filesystem Disk
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here you may specify the default filesystem disk that should be used
|
2016-10-26 08:16:28 -05:00
|
|
|
| by the framework. The "local" disk, as well as a variety of cloud
|
|
|
|
| based disks are available to your application. Just store away!
|
2015-02-22 20:47:03 -06:00
|
|
|
|
|
|
|
|
*/
|
2014-08-24 13:55:10 -05:00
|
|
|
|
2017-04-23 09:33:23 -03:00
|
|
|
'default' => env('FILESYSTEM_DRIVER', 'local'),
|
2014-08-24 13:55:10 -05:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Filesystem Disks
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here you may configure as many filesystem "disks" as you wish, and you
|
|
|
|
| may even configure multiple disks of the same driver. Defaults have
|
|
|
|
| been setup for each driver as an example of the required options.
|
|
|
|
|
|
2019-05-07 17:57:29 +02:00
|
|
|
| Supported Drivers: "local", "ftp", "sftp", "s3"
|
2018-02-27 14:32:22 -06:00
|
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
*/
|
2014-08-24 13:55:10 -05:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
'disks' => [
|
2014-08-24 13:55:10 -05:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
'local' => [
|
|
|
|
'driver' => 'local',
|
2016-02-11 10:19:57 -06:00
|
|
|
'root' => storage_path('app'),
|
2015-02-22 20:47:03 -06:00
|
|
|
],
|
2014-08-24 13:55:10 -05:00
|
|
|
|
2016-02-11 10:19:57 -06:00
|
|
|
'public' => [
|
|
|
|
'driver' => 'local',
|
|
|
|
'root' => storage_path('app/public'),
|
2017-01-04 12:09:43 -06:00
|
|
|
'url' => env('APP_URL').'/storage',
|
2016-02-11 10:19:57 -06:00
|
|
|
'visibility' => 'public',
|
2015-03-26 17:13:56 +00:00
|
|
|
],
|
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
's3' => [
|
|
|
|
'driver' => 's3',
|
2017-10-26 10:44:00 +10:30
|
|
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
|
|
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
|
|
|
'region' => env('AWS_DEFAULT_REGION'),
|
2017-01-17 07:41:12 -06:00
|
|
|
'bucket' => env('AWS_BUCKET'),
|
2020-04-09 16:54:25 +02:00
|
|
|
'url' => env('AWS_URL'),
|
|
|
|
'endpoint' => env('AWS_ENDPOINT'),
|
2015-02-22 20:47:03 -06:00
|
|
|
],
|
2014-08-24 13:55:10 -05:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
],
|
2020-02-05 10:48:51 -06:00
|
|
|
|
2020-02-05 10:33:45 -06:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Symbolic Links
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
2020-02-05 16:46:09 -06:00
|
|
|
| Here you may configure the symbolic links that will be created when the
|
|
|
|
| `storage:link` Artisan command is executed. The array keys should be
|
|
|
|
| the locations of the links and the values should be their targets.
|
2020-02-05 10:33:45 -06:00
|
|
|
|
|
|
|
|
*/
|
2020-02-05 10:48:51 -06:00
|
|
|
|
2020-02-05 10:33:45 -06:00
|
|
|
'links' => [
|
|
|
|
public_path('storage') => storage_path('app/public'),
|
|
|
|
],
|
2014-08-24 13:55:10 -05:00
|
|
|
|
|
|
|
];
|