davide.cucurnia@vola.it
2024-02-01 398fc70ad81e71951105c4a950be0f8c4024bd01
commit | author | age
9f6455 1 <?php
DC 2
3 return [
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 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 Links
61     |--------------------------------------------------------------------------
62     |
63     | Here you may configure the symbolic links that will be created when the
64     | `storage:link` Artisan command is executed. The array keys should be
65     | 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 ];