filesystems.php 1.89 KB
Newer Older
1 2 3 4
<?php

return [

Taylor Otwell committed
5 6 7 8 9 10 11 12 13
    /*
    |--------------------------------------------------------------------------
    | Default Filesystem Disk
    |--------------------------------------------------------------------------
    |
    | Here you may specify the default filesystem disk that should be used
    | by the framework. A "local" driver, as well as a variety of cloud
    | based drivers are available for your choosing. Just store away!
    |
14
    | Supported: "local", "ftp", "s3", "rackspace"
Taylor Otwell committed
15 16
    |
    */
17

Taylor Otwell committed
18
    'default' => 'local',
19

Taylor Otwell committed
20 21 22 23 24 25 26 27 28 29
    /*
    |--------------------------------------------------------------------------
    | Default Cloud Filesystem Disk
    |--------------------------------------------------------------------------
    |
    | Many applications store files both locally and in the cloud. For this
    | reason, you may specify a default "cloud" driver here. This driver
    | will be bound as the Cloud disk implementation in the container.
    |
    */
30

Taylor Otwell committed
31
    'cloud' => 's3',
32

Taylor Otwell committed
33 34 35 36 37 38 39 40 41 42
    /*
    |--------------------------------------------------------------------------
    | 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.
    |
    */
43

Taylor Otwell committed
44
    'disks' => [
45

Taylor Otwell committed
46 47
        'local' => [
            'driver' => 'local',
48
            'root' => storage_path('app'),
Taylor Otwell committed
49
        ],
50

51 52 53 54
        'public' => [
            'driver' => 'local',
            'root' => storage_path('app/public'),
            'visibility' => 'public',
55 56
        ],

Taylor Otwell committed
57 58
        's3' => [
            'driver' => 's3',
59
            'key' => 'your-key',
Taylor Otwell committed
60 61 62 63
            'secret' => 'your-secret',
            'region' => 'your-region',
            'bucket' => 'your-bucket',
        ],
64

Taylor Otwell committed
65
    ],
66 67

];