File Uploads in Laravel
Filenames, Drivers, Disks, Manipulation and more
Almost every web-project needs a file uploading mechanism. And Laravel provides a great system to manage files, but at the same time, it's quite overwhelming, with long pages of documentation.
So, in this short 1-hour course, I decided to digest exactly what you need to manipulate files in Laravel projects.
In addition to the general filesystem and storage configurations for Laravel, I will demonstrate how to work with file uploads using Amazon S3, Filepond library, Spatie Media Library package, and Laravel Livewire, to achieve better UX for your users.
Notice: if you're interested in more Laravel courses than just this one, you may check out the Yearly membership priced at $99 for all the current 15 courses, and all the upcoming courses a year ahead.
I consider myself a Laravel expert. Work with Laravel for around 6 years, sharing my thoughts on the YouTube channel "Laravel Daily": https://www.youtube.com/channel/UCTuplgOBi6tJIlesI...
I also have written a Laravel Daily Blog for 5+ years.
PreviewSimple example: File from Form Request - Manage Filename, Extension, Folders (4:58)
PreviewStorage Folder: Public/Private Files and Filesystem Config (4:34)
StartUploading to Amazon S3 (4:56)
StartAmazon S3: Make Files Public and View/Edit/Delete them (4:04)
StartAmazon S3: Temporary URLs (1:34)
StartFile Validation in Laravel, PHP and Web-Server (3:00)
StartImage Resize and Thumbnails: Intervention Image or Spatie Media Library (10:02)