So, simply modify the configuration to reflect your storage preferences and credentials!īefore using the S3 or Rackspace drivers, you will need to install the appropriate package via Composer: Example configurations for each supported driver is included in the configuration file. Each disk represents a particular storage driver and storage location. Within this file you may configure all of your "disks". The filesystem configuration file is located at config/filesystems.php. Even better, it's amazingly simple to switch between these storage options as the API remains the same for each system! The Laravel Flysystem integration provides simple to use drivers for working with local filesystems, Amazon S3, and Rackspace Cloud Storage.
Laravel provides a wonderful filesystem abstraction thanks to the Flysystem PHP package by Frank de Jonge.