Files

76 lines
2.4 KiB
PHP
Raw Permalink Normal View History

2015-12-06 13:58:49 -05:00
<?php
2026-10-05 18:10:18 -04:00
declare(strict_types=1);
2015-12-06 13:58:49 -05:00
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
2022-10-14 10:59:20 -06:00
| by the framework. The "local" disk, as well as a variety of cloud
2024-10-21 19:18:20 -06:00
| based disks are available to your application for file storage.
2015-12-06 13:58:49 -05:00
|
*/
2022-10-14 10:59:20 -06:00
'default' => env('FILESYSTEM_DISK', 'local'),
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
| Filesystem Disks
|--------------------------------------------------------------------------
|
2024-10-21 19:18:20 -06:00
| Below you may configure as many filesystem disks as necessary, and you
| may even configure multiple disks for the same driver. Examples for
| most supported storage drivers are configured here for reference.
2015-12-06 13:58:49 -05:00
|
2024-10-21 19:18:20 -06:00
| Supported drivers: "local", "ftp", "sftp", "s3"
2017-04-01 17:59:43 -04:00
|
2015-12-06 13:58:49 -05:00
*/
2022-10-14 10:59:20 -06:00
2015-12-06 13:58:49 -05:00
'disks' => [
'local' => [
'driver' => 'local',
2024-10-21 19:18:20 -06:00
'root' => storage_path('app/private'),
'serve' => false,
2022-10-14 10:59:20 -06:00
'throw' => false,
2015-12-06 13:58:49 -05:00
],
2017-04-01 17:59:43 -04:00
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
2026-10-05 18:10:18 -04:00
'url' => env('APP_URL').'/storage',
2017-04-01 17:59:43 -04:00
'visibility' => 'public',
2022-10-14 10:59:20 -06:00
'throw' => false,
2015-12-06 13:58:49 -05:00
],
's3' => [
'driver' => 's3',
2017-12-17 13:07:38 -06:00
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
2017-04-01 17:59:43 -04:00
'bucket' => env('AWS_BUCKET'),
2022-10-14 10:59:20 -06:00
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
2026-10-11 19:15:22 -04:00
'use_path_style_endpoint' => (bool) env('AWS_USE_PATH_STYLE_ENDPOINT', false),
2022-10-14 10:59:20 -06:00
'throw' => false,
2015-12-06 13:58:49 -05:00
],
],
2022-10-14 10:59:20 -06:00
/*
|--------------------------------------------------------------------------
| Symbolic Links
|--------------------------------------------------------------------------
|
| 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.
|
*/
'links' => [
public_path('storage') => storage_path('app/public'),
],
2015-12-06 13:58:49 -05:00
];