An Introduction To Laravel's FileSystem

Submitted by phpScots - 9 months ago

Laravel uses Frank de Jonge PHP Package For managing Filesystem.Laravel provides simple drivers to manage local filesystem, Amazon S3, and Rackspace Cloud Storage.You can easily switch between these filesystems with no change in API's. Read More From

//Writing a file from Local Disk
Storage::disk('local')->put('file.txt', 'Contents');
//Reading a file from Local Disk
$contents = Storage::get('file.jpg');
comments powered by Disqus