comparison config/filesystems.php @ 0:9d7dcd54c677

Initial Commit and package setup
author luka
date Sat, 23 Aug 2025 22:20:51 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:9d7dcd54c677
1 <?php
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 for file storage.
13 |
14 */
15
16 'default' => env('FILESYSTEM_DISK', 'local'),
17
18 /*
19 |--------------------------------------------------------------------------
20 | Filesystem Disks
21 |--------------------------------------------------------------------------
22 |
23 | Below you may configure as many filesystem disks as necessary, and you
24 | may even configure multiple disks for the same driver. Examples for
25 | most supported storage drivers are configured here for reference.
26 |
27 | Supported drivers: "local", "ftp", "sftp", "s3"
28 |
29 */
30
31 'disks' => [
32
33 'local' => [
34 'driver' => 'local',
35 'root' => storage_path('app/private'),
36 'serve' => true,
37 'throw' => false,
38 'report' => false,
39 ],
40
41 'public' => [
42 'driver' => 'local',
43 'root' => storage_path('app/public'),
44 'url' => env('APP_URL').'/storage',
45 'visibility' => 'public',
46 'throw' => false,
47 'report' => false,
48 ],
49
50 's3' => [
51 'driver' => 's3',
52 'key' => env('AWS_ACCESS_KEY_ID'),
53 'secret' => env('AWS_SECRET_ACCESS_KEY'),
54 'region' => env('AWS_DEFAULT_REGION'),
55 'bucket' => env('AWS_BUCKET'),
56 'url' => env('AWS_URL'),
57 'endpoint' => env('AWS_ENDPOINT'),
58 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
59 'throw' => false,
60 'report' => false,
61 ],
62
63 ],
64
65 /*
66 |--------------------------------------------------------------------------
67 | Symbolic Links
68 |--------------------------------------------------------------------------
69 |
70 | Here you may configure the symbolic links that will be created when the
71 | `storage:link` Artisan command is executed. The array keys should be
72 | the locations of the links and the values should be their targets.
73 |
74 */
75
76 'links' => [
77 public_path('storage') => storage_path('app/public'),
78 ],
79
80 ];