Complete the code to set the default filesystem disk in Laravel's config.
'default' => env('FILESYSTEM_DRIVER', '[1]'),
The default filesystem disk is usually set to 'local' for local storage in Laravel.
Complete the code to define a disk driver in Laravel's filesystem config.
'disks' => [ 'local' => [ 'driver' => '[1]', 'root' => storage_path('app'), ], ],
The 'local' disk uses the 'local' driver to store files on the server's local filesystem.
Fix the error in the disk configuration to correctly set the visibility.
'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'), 'visibility' => '[1]', ],
The 'visibility' option should be set to 'public' to allow public access to files in the 'public' disk.
Fill both blanks to configure an S3 disk with correct driver and region.
's3' => [ 'driver' => '[1]', 'region' => '[2]', 'bucket' => env('AWS_BUCKET'), ],
The S3 disk requires the 's3' driver and a valid AWS region like 'us-east-1'.
Fill all three blanks to create a custom FTP disk configuration.
'ftp_custom' => [ 'driver' => '[1]', 'host' => env('FTP_HOST'), 'username' => env('FTP_USERNAME'), 'password' => env('FTP_PASSWORD'), 'port' => [2], 'root' => '[3]', ],
FTP disks use the 'ftp' driver, default port 21, and a root path for file storage.