<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Default Filesystem Disk
    |--------------------------------------------------------------------------
    |
    | Here you may specify the default filesystem disk that should be used
    | by the framework. The "local" disk, as well as a variety of cloud
    | based disks are available to your application. Just store away!
    |
    */

    &#039;default&#039; => env(&#039;FILESYSTEM_DISK&#039;, &#039;local&#039;),

    /*
    |--------------------------------------------------------------------------
    | 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 set up for each driver as an example of the required values.
    |
    | Supported Drivers: "local", "ftp", "sftp", "s3"
    |
    */

    &#039;disks&#039; => [

        &#039;local&#039; => [
            &#039;driver&#039; => &#039;local&#039;,
            &#039;root&#039; => storage_path(&#039;app&#039;),
            &#039;throw&#039; => false,
        ],

        &#039;public&#039; => [
            &#039;driver&#039; => &#039;local&#039;,
            &#039;root&#039; => storage_path(&#039;app/public&#039;),
            &#039;url&#039; => env(&#039;APP_URL&#039;).&#039;/storage&#039;,
            &#039;visibility&#039; => &#039;public&#039;,
            &#039;throw&#039; => false,
        ],

        &#039;s3&#039; => [
            &#039;driver&#039; => &#039;s3&#039;,
            &#039;key&#039; => env(&#039;AWS_ACCESS_KEY_ID&#039;),
            &#039;secret&#039; => env(&#039;AWS_SECRET_ACCESS_KEY&#039;),
            &#039;region&#039; => env(&#039;AWS_DEFAULT_REGION&#039;),
            &#039;bucket&#039; => env(&#039;AWS_BUCKET&#039;),
            &#039;url&#039; => env(&#039;AWS_URL&#039;),
            &#039;endpoint&#039; => env(&#039;AWS_ENDPOINT&#039;),
            &#039;use_path_style_endpoint&#039; => env(&#039;AWS_USE_PATH_STYLE_ENDPOINT&#039;, false),
            &#039;throw&#039; => false,
        ],

        &#039;dist&#039; => [
            &#039;driver&#039; => &#039;local&#039;,
            &#039;root&#039; => storage_path(&#039;app/dist&#039;),
            &#039;url&#039; => env(&#039;APP_URL&#039;) . &#039;/storage/app&#039;,
            &#039;visibility&#039; => &#039;public&#039;,
            &#039;throw&#039; => false,
        ],

        &#039;upload&#039; => [
            &#039;driver&#039; => &#039;local&#039;,
            &#039;root&#039; => storage_path(&#039;app/upload&#039;),
            &#039;url&#039; => env(&#039;APP_URL&#039;) . &#039;/storage/upload&#039;,
            &#039;visibility&#039; => &#039;public&#039;,
            &#039;throw&#039; => false,
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | 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.
    |
    */

    &#039;links&#039; => [
        public_path(&#039;storage&#039;) => storage_path(&#039;app/public&#039;),
        public_path(&#039;storage/dist&#039;) => storage_path(&#039;app/dist&#039;),
        public_path(&#039;storage/upload&#039;) => storage_path(&#039;app/upload&#039;),
    ],

];

Add a code snippet to your website: www.paste.org