Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ckardaras's avatar

Series request: Comprehensive series covering uploaded files

I became a paying customer and started browsing through various classes here that touch on the subject of file uploads. These classes only ever dedicate a single video to the topic and, honestly, they do not get in depth.

Evidence for the need of a file-uploads series:

-The existing content is 3-5 years old.

-The existing content consists of single videos, never a topic-specific series.

-The existing content's comment section is flooded with 40 to 100 comments of confusion and hopelessness because real-world use-cases are not covered.

Dont believe me? See for yourself...

https://laracasts.com/lessons/file-uploads-101

48 comments... 5 years old... (originally posted Nov 11th, 2015)

https://laracasts.com/series/whats-new-in-laravel-5-3/episodes/12

97 comments... 4 years old... (originally posted Aug 17th, 2016)

https://laracasts.com/series/lets-build-a-forum-with-laravel/episodes/65

39 comments... 3 years old... (originally posted Aug 10th, 2017)

Series feature requests:

(1) How to store a filepath in database

(2) A destroy method for uploaded files... Method should remove them from storage AND database.

(3) How to create an upload form that allows for a: title, summary, and file-to-be-uploaded input fields.

(4) How to do a super simple "times downloaded" counter.

My rant...

I just think a comprehensive series on just this topic would help a lot. The learn-laravel content on the web outside of laracasts is of very low quality and so this place is the go-to resource currently. It seems as though this is a topic I haven't seen covered in any detail and I am not yet skilled enough to be very creative in these regards.

0 likes
1 reply
bobbybouwmann's avatar

I guess you're right, but in the defense of the Laravel community there are a lot of tutorials out there. Also the Laravel documentation itself has some solid examples on how to handle it. Most of the question you ask right now is not much different than submitting a text input to your controller, except that you need to store the file itself and the file path.

Please or to participate in this conversation.