Laravel From Scratch | 4+ Hour Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 1.3K

  • @TraversyMedia
    @TraversyMedia  2 ปีที่แล้ว +568

    It took me a few weeks to get this done and recorded. Hope you enjoy!
    If you are new to PHP, I have a recent 3 hour course on TH-cam that you can check out first if needed - th-cam.com/video/BUCiSSyIGGU/w-d-xo.html
    I also have an API project with Sanctum Authentication - th-cam.com/video/MT-GJQIY3EU/w-d-xo.html

    • @marcolancellotti8114
      @marcolancellotti8114 2 ปีที่แล้ว +1

      Thanks Brad this will save me a lot of time! I decided to start stdying Laravel 9 just this morning and there you are!

    • @qaiseriqbal2696
      @qaiseriqbal2696 2 ปีที่แล้ว

      Really enjoyed, thank you for your effort brad

    • @wibowomuhmmad
      @wibowomuhmmad 2 ปีที่แล้ว +1

      thank brad

    • @deadheartalone
      @deadheartalone 2 ปีที่แล้ว +2

      You can suggest laragon instead of xamp or wamp. It's really better than both

    • @MinhTechie
      @MinhTechie 2 ปีที่แล้ว

      Hi Brad! I make tutorials as well and it takes me days just to make a 10min video. I'm wondering how much time you spend per day for a long tutorial like this one? Do you have any tips to speed it up?

  • @pratikshrestha1026
    @pratikshrestha1026 2 ปีที่แล้ว +307

    Just got job as Junior Laravel developer and your Laravel series was my first entry to learning Laravel.

    • @TraversyMedia
      @TraversyMedia  2 ปีที่แล้ว +34

      Awesome! congrats

    • @pratikshrestha1026
      @pratikshrestha1026 2 ปีที่แล้ว +15

      @@TraversyMedia thank you so much
      Your reply means a lot

    • @mohamadrfawaz4859
      @mohamadrfawaz4859 2 ปีที่แล้ว +2

      what s the path you took after finishing this project?

    • @pratikshrestha1026
      @pratikshrestha1026 2 ปีที่แล้ว +10

      @@mohamadrfawaz4859 i practiced by creating my own small projects to show on my portfolio. My github was updated with these projects which helped me get the job.

    • @mohamadrfawaz4859
      @mohamadrfawaz4859 2 ปีที่แล้ว

      @@pratikshrestha1026 ah I see did you have any experience with php before learning laravel? like any profound experience? because my only experience is the 4 hour bootcamp and its giving me anxiety lol

  • @syouske4496
    @syouske4496 7 หลายเดือนก่อน +20

    Hi, 6 years ago, you uploaded a crash course for laravel which helped me a lot on my uni projects.. I was a student at that time. Now I am a senior software engineer and living a comfortable life still using laravel on my day job.. Just wanted to say thank you.. I will be forever grateful to you and this channel.

    • @branchyapple
      @branchyapple 5 หลายเดือนก่อน

      sickk!! glad to hear that man.
      Just out of curiousty, im going down this path also, how much does a 'Senior' of laravel get paid?

    • @AsadMushtaqAhmed
      @AsadMushtaqAhmed หลายเดือนก่อน

      Hire me am freshly graduate in software engineering, got strong grip over SQA

  • @axelramirezludewig306
    @axelramirezludewig306 ปีที่แล้ว +202

    I just wanted to let you know that this course made me land my internship, after passing the interview. I'm currently using Laravel to build a small system for my local government, it's a great project for my future experience, thank you SO MUCH. Thanks to this I will get my engineering degree without breaking my head. God bless you Brad. ❤

    • @shravyashetty3115
      @shravyashetty3115 ปีที่แล้ว +1

      how much time it took to compete this video?

    • @eliodbomboy6063
      @eliodbomboy6063 ปีที่แล้ว +4

      0ne week..because i had to learn documentation

    • @shravyashetty3115
      @shravyashetty3115 ปีที่แล้ว

      @@eliodbomboy6063 okay thanks

    • @eliodbomboy6063
      @eliodbomboy6063 ปีที่แล้ว

      @@shravyashetty3115 you are welcome

    • @axelramirezludewig306
      @axelramirezludewig306 ปีที่แล้ว

      @@eliodbomboy6063 thanks my boi, the project is done! my app does everything with Laravel, sends emails, generates pdfs, admin panel/user panel, a lot, all from this video lol

  • @yodaru
    @yodaru ปีที่แล้ว +5

    To anyone doing this tutorial on Laravel 10, in the EDIT form if you have any issues I found I had to assign a name to my Route::Update controller and then assign this to my form action for the form to work correctly. Originally @method('PUT') didn't fix it and I kept getting POST errors until I did this:
    Route::put('/listings/{listing}', [ListingController::class, 'update'])->name('listing.update');
    @method('PUT')
    Otherwise this entire tutorial has worked on Laravel 10! Thank you bradddd!

  • @iosebmatiashvili8890
    @iosebmatiashvili8890 2 ปีที่แล้ว +375

    I swear Laravel and generally PHP never die because of people like you. Keep it up man. You are inspiration of many developers like myself!

    • @TraversyMedia
      @TraversyMedia  2 ปีที่แล้ว +105

      Some may be mad at me for that lol. I don't care what anyone says, PHP, Laravel and even Wordpress are very useful in web development, especially the area that I come from which is small business, freelance, building products, etc

    • @folorunshoibrahim6852
      @folorunshoibrahim6852 2 ปีที่แล้ว +16

      As long as WordPress still exists, php can't die

    • @RealHomeboy
      @RealHomeboy 2 ปีที่แล้ว +22

      PHP is also perfectly suitable for enterprise level applications.

    • @numanakhtersiddiqui6573
      @numanakhtersiddiqui6573 2 ปีที่แล้ว +3

      @@TraversyMedia thanks for this course. 💯❤

    • @DaniSpeh
      @DaniSpeh 2 ปีที่แล้ว +12

      Don't say that loud, most of traversy followers hate php as hell :D I still like it more than javascript though

  • @Another_Look
    @Another_Look ปีที่แล้ว +139

    For anyone who may wonder: around 01:57:20 The naming of the 'scopeFilter' method and calling it using 'filter' matter. The 'scope' prefix is meaningful to Laravel and the 'Filter' part can be anything, as long as you use the same name in your Controller when calling the method. In other words, if you name the method scopeTry, then call it using ...latest()->try(request(...

    • @devahmedismael
      @devahmedismael ปีที่แล้ว +3

      Thanks a lot bro .. God bless you. 🙏

    • @tarkuslu161
      @tarkuslu161 ปีที่แล้ว +2

      Thank you, man. I was gonna lose my mind to figure this out!

    • @MaxTaylorHayden
      @MaxTaylorHayden ปีที่แล้ว +2

      oh my god i was stuck on this for sooo long thank you for you comment!!

    • @Controvi
      @Controvi 10 หลายเดือนก่อน +1

      Dude, you saved my evening!!!!!
      I was almost going to depart on a sabbatical to find out what was going on.

    • @trikooCreates
      @trikooCreates 10 หลายเดือนก่อน +2

      You are a legenderay persona! Thanks a heap.

  • @kwanele_dev
    @kwanele_dev ปีที่แล้ว +9

    Hooray! Congratulations to me. This is actually the first 2+ hour crash course I've ever completed, while coding along. It took me 4 days, but I'm done and I have the project in my local PC without ever downloading it from the GitHub repo.😂😂 I'd like to thank Brad for the way he holds your hand during a teaching session. You'd swear he's here with you during the tutorial, when it's actually prerecorded. You guys, in the comments are also a great community. Brad's channel is actually one that I wish had more than 10 million subscribers, the ways he teaches is just too good for people not to recognize his talent! God bless you Brad!

  • @mahiraseef
    @mahiraseef ปีที่แล้ว +70

    If anyone is thinking why at 1:34:38 didn't work for you, then you can consider adding a "!" with the "p-24", for example: "". And it will work :3 because as of tailwind 3+, you can override the existing class selectors by adding at the beginning, the important operator.

    • @kudoistas5133
      @kudoistas5133 ปีที่แล้ว +2

      Wow thanks, good thing i ctrl+f the comments i wasted so much time trying to figure out why its not working for me!

    • @zzzzüp
      @zzzzüp ปีที่แล้ว +2

      Thank you

    • @daniel00120012
      @daniel00120012 ปีที่แล้ว +1

      Legend

    • @daniel00120012
      @daniel00120012 ปีที่แล้ว

      @@kudoistas5133 Same!

    • @rogalthomas
      @rogalthomas ปีที่แล้ว +1

      Thanks a lot! 🙂

  • @drjonbear7517
    @drjonbear7517 2 ปีที่แล้ว +8

    Brad, your videos got me into my first dev job 3 years ago and have been invaluable tools since. Only 1h45 into this one and just wanted to again say thanks for all you do. You are an absolute legend!

  • @TheCodeholic
    @TheCodeholic 2 ปีที่แล้ว +112

    Hey Brad,
    Great to see you spend more time on PHP/Laravel.
    I think this video will be one of the most popular ones on Laravel.

    • @emmanuelochubili
      @emmanuelochubili 2 ปีที่แล้ว +2

      I also follow you too. You do nice and good tutorials

    • @TheCodeholic
      @TheCodeholic 2 ปีที่แล้ว

      @@emmanuelochubili Thanks my friend

    • @jaywaldluna3158
      @jaywaldluna3158 2 ปีที่แล้ว +1

      Notice me my idol codeholic. I'm a fan of yours. I have one year experienced in coding. Keep uploading your php and laravel stuff

    • @emmanuelochubili
      @emmanuelochubili 2 ปีที่แล้ว

      @@TheCodeholic you guys are really helping us grow in this tech field #grateful

    • @TheCodeholic
      @TheCodeholic 2 ปีที่แล้ว +5

      @@jaywaldluna3158 Thanks a lot buddy. I will do my best to create high quality content.
      My next Laravel project will probably be Ecommerce website. I have already started working on that.

  • @skellybrownston3641
    @skellybrownston3641 2 ปีที่แล้ว +35

    Brad. What could we really do without you. Thank you for the time and massive efforts you put in. Really appreciate you .
    Truly grateful.

  • @ocquintus6751
    @ocquintus6751 2 ปีที่แล้ว +60

    I've always wanted to dive in Laravel and I believe this is the time now. Thank you so much Brad Traversy for always inspiring us

  • @stevecatterson6920
    @stevecatterson6920 ปีที่แล้ว

    Thankyou, Brad - great course. For anybody struggling with a "Target class [YourController] does not exist" around 1:44, even when the controller is def imported (with "use"); the solution is just to prefix your controller's name to fully qualify where it lives. For example :
    // All products
    Route::get('/products', [App\Http\Controllers\ProductController::class, 'index']);
    // Single product
    Route::get('products/{product}', [App\Http\Controllers\ProductController::class, 'show']);
    Here I'm using a controller called ProductController whereas Brad is using ListingController or something like that in the vid. So previously, I just specified "ProductController" & I got the "does not exist" error; prefixing with "App\Http\Controllers\" fixed the problem. Honestly dunno why it's required, but hey. Hope this helps somebody. 😄

  • @adamchengula4171
    @adamchengula4171 2 ปีที่แล้ว +164

    We thank you brady form the bottom of our heart, you help me from novice to sophisticated PHP developer

  • @scriptster6805
    @scriptster6805 ปีที่แล้ว +18

    I find it cute that you keep the little unexpected behaviors with your code in there! It makes it all a little relatable. Just love all your video's. Thank you so much!

  • @kudamasangomai
    @kudamasangomai 2 ปีที่แล้ว +8

    Just finished your 13 video Laravel course and it was so helpful.Thanks brad you make us believe that it is possible.looking forward to this.. respect to you all the way from Zimbabwe

  • @duanesmit4032
    @duanesmit4032 7 หลายเดือนก่อน +1

    I have been a javascript developer, but I watched a video on laravel. Loved the simplicity of the setup and this course just filled in all the blanks. Awesome job Brad!

  • @dheemaas7
    @dheemaas7 2 ปีที่แล้ว +9

    Wow, a week looking for a Laravel video to watch when I'm not so busy next week... this is the one, just because it's you!
    Thank you for everything!

  • @hughmungus1767
    @hughmungus1767 ปีที่แล้ว +64

    Around 2:53:xx, I found that the name of the image I uploaded (as amended by Laravel) was NOT in my logo field of the database record and realized immediately why: I hadn't added the logo column to my fillable list in Listing.php. As soon as I added 'logo' to the fillable list and then added a new gig via the form, the (Laravel version of the) file name appeared in my database row. Brad didn't have a problem because he used the "unguard" option in the model but I was still using fillable so had to adjust my fillable list. This may make a good argument for always using "unguard" but I'm sure there are cases where you might be glad to have used fillable instead of 'unguard". Anyway, I just mentioned this in case anyone else is puzzled about why the file name doesn't appear in the database.

    • @NuggetsLess
      @NuggetsLess ปีที่แล้ว +3

      THANK YOU, You saved I couldn't find the problem and I was pulling my hairs out on this for at least 2 hours i should've looked at the comments sooner

    • @hughmungus1767
      @hughmungus1767 ปีที่แล้ว +1

      @@NuggetsLess You're most welcome!

    • @vitaliju1
      @vitaliju1 ปีที่แล้ว

      Bro, I almost got gray hair because of this fillable thing. Thanks for the tip!

    • @Icecoustica
      @Icecoustica ปีที่แล้ว

      awesome! you saved my time haha

    • @Adama4oo
      @Adama4oo ปีที่แล้ว

      thanks mate! you are awesome 💪

  • @mikseros123
    @mikseros123 2 ปีที่แล้ว +27

    4:03:37 To be able to create new gig, you need to add "user_id" to "fillable" in the "Listing" model.

    • @dipantara
      @dipantara 2 ปีที่แล้ว +3

      Thanks bro

    • @thiagopetherson1268
      @thiagopetherson1268 ปีที่แล้ว +2

      Yep. If you didn't do it previouslly in the provider.

    • @rishimusicprods
      @rishimusicprods ปีที่แล้ว +1

      Thank you!

    • @RiSp-dev
      @RiSp-dev 7 หลายเดือนก่อน

      Ačiū!

    • @sjwatts20
      @sjwatts20 7 หลายเดือนก่อน +2

      so easy to forget, thank you

  • @videocommenter235
    @videocommenter235 ปีที่แล้ว +1

    I have to thank you. I watched and studied this course early this year and I'm now working part time as assistant of a senior developer while completing my CS degree. We use Laravel a lot.

  • @adriaandelange1797
    @adriaandelange1797 2 ปีที่แล้ว +6

    This is one of the best from-scratch Laravel training videos That have viewed. I literally sat through the whole 4 hours and did every last thing with Traversy. I can not say how much I have learned and That I'm already applying a lot of what I learned in my own project. Lot of my blockers is now resolved and I have a lot of new features because of this. Thank you so much for this video

  • @axelramirezludewig306
    @axelramirezludewig306 ปีที่แล้ว

    I just landed a Jr Laravel Dev remote job thanks mainly to this video. First I landed the internship and after doing a big ass Laravel project that landed me my first job today. My background is very obscure so I can never thank you enough for the knowledge gained here. Not only the amount of money but having a job is life changing for me:)

  • @CodestarTechnologies
    @CodestarTechnologies 2 ปีที่แล้ว +10

    Since 2015 I have never looked back this channel has impacted lots of skills to me may GOD Bless you PhD, Engineer, Professor all time winner Mr Brad 🙏🙏🙏
    👏👏👏👏👏👏👏👏

    • @TraversyMedia
      @TraversyMedia  2 ปีที่แล้ว +3

      Thanks so much! I would not consider myself any of those things, but I appreciate it 😉

    • @DaniSpeh
      @DaniSpeh 2 ปีที่แล้ว

      @@TraversyMedia Well, at least you could consider yourself a professor, according to Merriam Webster :)

  • @TheVertical92
    @TheVertical92 2 ปีที่แล้ว +1

    Just 2 Weeks ago i got my first developer job.
    I was never interested in Laravel or PHP in general. But since we use Laravel with Vue + Vuetify, i got into it the last 2 weeks and i have to say:
    I love Laravel. Its just so nice to have everything you need in a good structure.
    Cant wait to build my first new project with it.

  • @peksonholinificent7056
    @peksonholinificent7056 2 ปีที่แล้ว +31

    For me, Traversy Media is like a university...thanks a lot Brad, your tutorials are always insightful and helpful.

    • @genesdada7045
      @genesdada7045 2 ปีที่แล้ว

      he's more than a university bcos these staffs are never taught at the university.

  • @simonnjoroge
    @simonnjoroge ปีที่แล้ว +7

    I just completed this project and I wanna thank you from the bottom of my heart.

  • @edoardorossi9382
    @edoardorossi9382 6 หลายเดือนก่อน

    A long course, but really beautiful, finally a person who calmly explains there is no course like this in Italian and thank you for knowing English really well, congratulations.

  • @SiriusPhil
    @SiriusPhil 2 ปีที่แล้ว +7

    What an absolutely great course! Thank you. I learned Laravel several months ago, stepped away from programming for a while, and became very rusty. This course had EVERYTHING I needed to get back up to speed.

  • @Iamhere_whyfear
    @Iamhere_whyfear 10 หลายเดือนก่อน

    I did this course in 2024 and it works fully. whoever interested, dont hesitate to do. all the best guys. keep coding

  • @BsiennKhan
    @BsiennKhan 2 ปีที่แล้ว +3

    "Just don't give up" What a beautiful message by Sir Traversy, love it

  • @muzoorabarnabas3461
    @muzoorabarnabas3461 2 ปีที่แล้ว +2

    You know one thing I do every morning is checking if Brad has uploaded any new videos. And here I am. Watching this great episode of PHP. I love you, Brad, All I know now is because of your efforts. God bless you

  • @aaronthomas658
    @aaronthomas658 ปีที่แล้ว +5

    I learned more in this tutorial than all the others combined. This was a truly awesome tutorial. I have been programming in PHP for quite a few years I just have never really had the time to learn Laravel. This was truly the best course.

  • @okonvick
    @okonvick ปีที่แล้ว

    I have just learned from this to use Laravel and have successfully developed a custom application for registering to attend to a conference. This is one of the best language tutorials I have seen in the last 15+ years. Thanks for that!

  • @Pyuras
    @Pyuras 2 ปีที่แล้ว +19

    Just one small criticism: the point of using migrations is having a documented history of how your database evolved over time during development, so you can easily go back and forth from/to different points. So if you need to change something in the database you don't keep editing the same migration, you create new ones.

    • @Osys91
      @Osys91 ปีที่แล้ว +1

      Great take and actually having the date in the name of the migration file stresses your point

    • @RealHomeboy
      @RealHomeboy ปีที่แล้ว

      You can change it as long as the feature is not promoted to development

  • @robbitjuice2115
    @robbitjuice2115 2 ปีที่แล้ว +2

    Hello, sir. I just wanted to say thank you for this. I've been wanting to build a custom blog engine with a forum for a long time. I've tried a lot of CMS tools (especially WordPress quite a few times) and always thought they were too heavy and integrating forums with a single database can be difficult. I wanted to build something from the ground up so I knew exactly how it works and how to expand its feature set.
    I've looked into Laravel before and haven't found a good resource to get me started. This was perfect. I like Laracasts but I don't have the budget for another subscription right now, so the fact that you're doing this for free is astounding.
    So, TLDR, thank you for making this resource available for everyone and at no cost. I'm stoked to take this even further. Thank you so much!

  • @teknofi404
    @teknofi404 2 ปีที่แล้ว +5

    Hi Brad, amazing tutorial. It might be worth mentioning that you need to add the 'logo' to the protected $fillable element to make the create gig button commit the path to the sql database. Scratched my head on this bit for a good 30 minutes wondering what I had done wrong!
    Thanks for taking the time to make this introduction video!

    • @sythous1313
      @sythous1313 ปีที่แล้ว +1

      The same happened to me. Thanks for the comment! 👍😅

    • @teknofi404
      @teknofi404 ปีที่แล้ว +2

      @sythous1313 ahhh you're welcome, glad i was able to help someone! 😊

  • @hab_tech
    @hab_tech 8 หลายเดือนก่อน +1

    around 3:06:00 instead of deleting the Rule::unique('listings', 'company'), you can add rule like this: ['required', Rule::unique('listings', 'company')->ignore($listing->id)]], so that it will ignore the current listing. because without doing that there will be unwanted behavior if the company name collides with the other ones.

  • @fredoscott2346
    @fredoscott2346 2 ปีที่แล้ว +6

    I think I speak for all your viewers when I say thank you for al the time you put into making these videos. We are extremely grateful. And I'd rather watch long videos that goes deep into the subject than short videos that leaves me with hundreds of questions. And it's way easy to navigate thanks to you splitting it into chapter. Thank you, Brad :)

  • @tesshartis6684
    @tesshartis6684 2 ปีที่แล้ว +1

    Had never touched PHP before this video and now I have a whole project. I love this video because of the clear instructions and because it just works. Thank you!!!

  • @philipespersen2694
    @philipespersen2694 2 ปีที่แล้ว +4

    Thank you Brad. I have been out of the coding life for a good while, and was using Zend Framework before my work life changed in a different direction. I have been trying to get going with Laravel over and over again, starting with the packages like Fortify and following various youtube tutorials. Your course here really had me getting a much better understanding of Laravel. At the end of the course i tried pausing your video, coding what i thought would be your next move, and got really excited when i got it right - Thanks a ton!

  • @zFormulated
    @zFormulated 2 ปีที่แล้ว +1

    Not to be that person, but this could not have come at a better time. I just got into learning Laravel this past week/weekend and was still struggling to find decent content that was recent. I much prefer your teaching style as it is easy to follow and now I have been gifted with a highly in-depth, quality video from the man himself. Thank you.

  • @MultiTrickster121
    @MultiTrickster121 9 หลายเดือนก่อน +11

    02:54:00 If you don't see the logo path appearing in your database and you're using the $fillable array inside your Listing model, make sure you add 'logo' to the $fillable array inside your Listing model. This ensures the logo can be uploaded to the database together with the other form data.

    • @angelgomez9246
      @angelgomez9246 8 หลายเดือนก่อน +1

      Thanks a lot man !!!

    • @MultiTrickster121
      @MultiTrickster121 8 หลายเดือนก่อน

      @@angelgomez9246No problem :)

    • @iron_orange
      @iron_orange 8 หลายเดือนก่อน +1

      Thank you friend!

    • @kazimamine
      @kazimamine 4 หลายเดือนก่อน

      I added it but still not working
      protected $fillable = ['title', 'company', 'location', 'website' , 'email', 'tags','logo' , 'description'];

    • @kazimamine
      @kazimamine 4 หลายเดือนก่อน

      @@angelgomez9246 I got it : php artisan storage:link

  • @cfeodorov
    @cfeodorov 10 หลายเดือนก่อน

    I'm watching this unique video tutorial on a work Windows PC with restricted privileges and very limited facilities and I'm rebuilding the application on my personal laptop(Linux) that is without any internet connection. Actually I'm working on a merchant vessel that is in the middle of the Ocean, as a rule, and I'm very glad to see extraordinary people like Brad , that give us ( to beginners like me ) the opportunity to proper learning Laravel (in this specific case) . Thank You very much!
    For novices like me, I would say that I prefer to use the .env file instead of touching the config hard coded stuff.
    For Laravel 10 the process of rebuilding the application is going smoothly, so far.
    Thank You again Brad, and God to Bless You!

  • @BillElgin
    @BillElgin ปีที่แล้ว +27

    Under Component Attributes at the 1:32:53 mark, it discusses using the 'attributes->merge' to add classes to the component. I couldn't get it to work. After a little bit of research, I think it will add new classes, but it won't override a class that's already defined within the component. I'm posting this to either help others or for someone to tell me I'm wrong so I can figure out what in the heck I was doing differently than the lesson.

    • @abhishekperera-dev
      @abhishekperera-dev ปีที่แล้ว

      same issue

    • @colinaustin8421
      @colinaustin8421 ปีที่แล้ว +25

      @@abhishekperera-dev You can make the ovveride !important. e.g.

    • @abhishekperera-dev
      @abhishekperera-dev ปีที่แล้ว

      @@colinaustin8421 ❤️

    • @ionutdrg45
      @ionutdrg45 ปีที่แล้ว

      @@colinaustin8421 thanks a lot! that's something very useful :)

    • @BonnUmunna
      @BonnUmunna ปีที่แล้ว

      Thanks for this helper, I had same issues
      @@colinaustin8421

  • @scottdieselgarage1780
    @scottdieselgarage1780 ปีที่แล้ว

    As a 10 year software engineer wanting to learn Laravel for fun, I'm loving this tutorial man. All tutorials should be done by folks from Boston, so I can occasionally hear "what tha hell is wrong wit me?" Better than 90% of the courses I've paid money for, and more efficient.

  • @looksintolasers
    @looksintolasers ปีที่แล้ว +9

    This was great! PHP frameworks have always been a little intimidating for me, but you do a really great job explaining all the details. I had a project where I was trying to stick to 'vanilla' OOP PHP, but at some point I realized I was spending a huge amount of time just building out my own (crappy) framework. I think after this I'm ready to try Laravel! You're an awesome teacher. Thanks so much for this tutorial.

    • @marcofloriano
      @marcofloriano ปีที่แล้ว +10

      By building your own crappy framework, you get yourself the knowledge and experience to get Laravel. Don't underestimate the hard way learning: it's always pay in the end.

    • @obinator9065
      @obinator9065 ปีที่แล้ว

      @@marcofloriano you are fake news!

  • @thigarette1
    @thigarette1 2 ปีที่แล้ว +1

    I was familiar with Laravel but got really rusty after not using it for a couple of years. This was the perfect refresher. Cheers Brad

  • @OskarBravo
    @OskarBravo 2 ปีที่แล้ว +5

    Very happy to see you're doing long form tutorials! This is what's required to become a developer. Keep up the good work!

  • @JohnathanBrown
    @JohnathanBrown 2 ปีที่แล้ว +4

    This literally could not have come at a better time! We're just starting to use Laravel at work and I just finished your PHP crash course. Thanks Brad!

  • @pericab35
    @pericab35 2 ปีที่แล้ว

    Some people, like Brad, deserves Nobel prize for their efforts and good will to teach others new skills and helping them to become better in what they are doing. Tnx Brad.

  • @mikonimo
    @mikonimo 2 ปีที่แล้ว +9

    Thank you Brad for creating this tutorial. When you create the next laravel video (the deployment), if possible, could you also include how to deploy to shrared hosting, (no SSH access). I'm sure few of us are still using shared hosting. Thank you again for teaching this🙏

  • @LoukasSC
    @LoukasSC 2 ปีที่แล้ว

    Hey man, programming apprentice here. Just tell you you're a great guy, love your channel, love your courses & tutorials, and hope everything in your life is well. Best.

  • @alfredomenezes8814
    @alfredomenezes8814 ปีที่แล้ว +5

    This is one of the best courses I have ever watched in my life ❤
    And I'm jaw-dropped with Laravel, it is sooo easy and crafted compared to many other frameworks from different languages, incredible!

    • @abdulwasay9817
      @abdulwasay9817 ปีที่แล้ว

      did he also made a project in this video?

  • @vagelisilias
    @vagelisilias ปีที่แล้ว

    PHP Laravel till the end of world. I ve bought a laravel course couple moths ago and the instructor have messed up the videos took me 1 day to understana what is the .dev and what is the .test and i tho i need to run XAMPP as MAC user. Just came here and realized how easy is, thanks Brand because of you and the course OOP MVC on udemy one day i will land my job and thanks for the free courses is a pleasure. to learn from you. All the best

  • @peterpaulinus9867
    @peterpaulinus9867 2 ปีที่แล้ว +4

    Brad, you are hero of many developers in this century, thank you so much for this content and God bless you 🙏🙏🙏

  • @emanate.software
    @emanate.software 2 ปีที่แล้ว

    A few years ago I learned laravel from your crash course and I've been recommending the tutorial to other people, today I was finding the link to share the tutorial with another friend and I found this, Thank you for the refresh.

  • @hughmungus1767
    @hughmungus1767 ปีที่แล้ว +16

    Hey Brad, I'd like to offer a friendly suggestion. I got a bit hung up on the route model binding section because I misread a lowercase 'l' as an uppercase 'L' in your code. Using a slightly different font in VS Code would make it easier to distinguish between the 'l' and the 'L'. I'm using: Consolas, 'Courier New', monospace and it's a bit easier to read but there may be even better choices.

    • @hissatsu_u
      @hissatsu_u ปีที่แล้ว +1

      the samething happened to me and i was stuck on it for quite awhile

  • @tularem
    @tularem 2 ปีที่แล้ว

    Thank you for NOT making shorts! The longer format videos are best.
    Thanks for all the knowledge you've passed on over the years dude

  • @dennismitchell8507
    @dennismitchell8507 2 ปีที่แล้ว +4

    Thank you Brad for this. I was literally just going through your PHP course when you popped this one up. I hope you and your family are well and welcome back. :)

  • @claytonvanderhaar3772
    @claytonvanderhaar3772 ปีที่แล้ว

    Hi I ahve been watching this channel for years now and I am a Senior Developer I must say that it has helped me along me journey, keep it up!!

  • @maulvieyazid7652
    @maulvieyazid7652 2 ปีที่แล้ว +10

    Thank you so much Brad, for making this Laravel Course
    Just wanna add a little bit of info, for windows user instead of XAMPP, you can also use Laragon for local dev server
    It is portable and easier to use rather than XAMPP
    You can also easily switch PHP version with just one click

    • @TraversyMedia
      @TraversyMedia  2 ปีที่แล้ว +1

      Laragon! Yes. I knew I was forgetting a big one. Thank you.

    • @Ribby00
      @Ribby00 2 ปีที่แล้ว

      I'll check this out. Thank you!

    • @ajimahifeanyi2784
      @ajimahifeanyi2784 2 ปีที่แล้ว

      Thanks. Is Laragon free?

    • @hithertounknown1989
      @hithertounknown1989 2 ปีที่แล้ว

      This program seems to use older versions of PHP though, why is that the case?

  • @keeplearning5647
    @keeplearning5647 10 หลายเดือนก่อน +1

    Wow, just completed this crash course and I have to say, you're absolutely amazing! The way you explain things is fantastic, and I really appreciate that you make it so accessible for beginners like me. Thank you so much!

  • @senX
    @senX 2 ปีที่แล้ว +4

    at roughly 24:30 you mention extensions for php. it's noteworthy that the "go to definition" (which you explained earlier to see the origin of the route class) in vsc does NOT work without php intelephense installed.

  • @ElmoPlayss
    @ElmoPlayss 7 หลายเดือนก่อน +1

    Don't mind me, just leaving a timestamp for tomorrow. (Thanks a ton so far, this really really really helped me understand laravel better so far) 1:21:24

  • @crankyinmv
    @crankyinmv 2 ปีที่แล้ว +6

    Great tutorial. Really extensive. My only gripe is that intelephesense doesn't like auth()->user()->listings()->get() from ListingController::manage (although it runs just fine).
    If possible, I'd like to get a lead on a good source for:
    - Unit testing in Laravel
    - tailwind/bootstrap/whatever: Every time you string together a bunch of classes and get a perfect layout it looks like magic to me.
    Thanks.

    • @247custard
      @247custard 2 ปีที่แล้ว +2

      Yes, I wonder what happened here with the listings() method

    • @devynkaylor-owens3577
      @devynkaylor-owens3577 2 ปีที่แล้ว

      Im having the same thing, but my manage page is getting a 404...

    • @emmanueluwadone
      @emmanueluwadone ปีที่แล้ว

      Just change auth()->user()->listings()->get() to Auth::user()->listings()->get(). Then make sure to import and use Illuminate\Support\Facades\Auth

    • @rkelloggidaho
      @rkelloggidaho ปีที่แล้ว

      I am struggling with the Auth() stuff. I actually started reading the comments hoping someone had the solution. I was struggling with the assigning the user to the Gig. I finally found this solution $formFields['user_id'] = Auth::check() ? Auth::id() : true;
      But when I added your fix to this I still get the listings showing with the red line below it.@@emmanueluwadone

    • @Alex35983
      @Alex35983 11 หลายเดือนก่อน

      I got undefined method listings @@emmanueluwadone
      public function manage(){
      //return view('listings.manage', ['listings'=>auth()->user()->listings()->get()]);
      return view('listings.manage', ['listings'=>Auth::user()->listings()->get()]);
      // OR auth()->user()->listings()->get() ????? both are not working
      }

  • @jesseschaaf2670
    @jesseschaaf2670 ปีที่แล้ว +1

    Great job on this. I learned a lot. One thing I would add. Reference the $fillable array each time you add a new field. For example, when adding "user_id'. It kept throwing an error until I realized I had not added this field to the $fillable array.

  • @mirasrobert806
    @mirasrobert806 2 ปีที่แล้ว +5

    This is what I need brad! Thank you so much for giving us a free learning resources.

  • @kaleb-ledinaction
    @kaleb-ledinaction ปีที่แล้ว +1

    Just finished the crash course on PHP, now time for Laravel. I'm going to be so employable by the end of this summer.

  • @rostrek9451
    @rostrek9451 2 ปีที่แล้ว +4

    Might help someone, when you add the logo and its path is not getting added to the db, you must add the 'logo' to the fillable array in the listing model. like this:
    protected $fillable = ['title', 'company', 'game', 'website', 'email', 'age', 'tags', 'descreption', 'logo'];
    I have different names for the fields so don't mind that.

    • @247custard
      @247custard 2 ปีที่แล้ว

      Thanks so much :)

  • @timwong7507
    @timwong7507 ปีที่แล้ว

    I swear every tutorial I search you’re there! Absolute god tier content. I started off 3 years ago learning coding watching your vids. 3 years later as a experienced dev, still watching your tutorials. Cheers 🎉

  • @NuggetsLess
    @NuggetsLess ปีที่แล้ว +3

    Thank's a lot for this tutorial, I realy liked that you took the time to explain everthing in details . It was really helpful thank you again.

  • @fahimemroz9141
    @fahimemroz9141 2 ปีที่แล้ว +1

    I needed this so badly.
    I recently got my very first proper developer job and my team is heavily dependent on Laravel, which I know very little if not nothing.
    This is exactly what I needed. Thanks a million Brad!!

    • @superfails3048
      @superfails3048 ปีที่แล้ว

      glad to hear that too bro! how is your job?

    • @fahimemroz9141
      @fahimemroz9141 ปีที่แล้ว

      @@superfails3048 it was incredibly daunting at first, it is a lot less so now

  • @kamiajaneabetchuela1326
    @kamiajaneabetchuela1326 ปีที่แล้ว +7

    Hello, your tutorial is very helpful , however I have encountered an issue with the manage listings part where I get an undefined method error for listings() in the auth()->user()->listings()->get() and it confuses me since you don't seem to have any errors with that. Any suggestions on how I can fix that error? your help is much appreciated, thank you!

    • @Fr4n006
      @Fr4n006 ปีที่แล้ว +2

      Having the same issue

    • @justin49501
      @justin49501 ปีที่แล้ว +1

      Same issue here, have you found a solution?

    • @FlightPhysical
      @FlightPhysical ปีที่แล้ว +2

      I think you just need to move the Manage listing route higher on the web.php page (so the router does not try to match on a wildcard listing named "manage").

    • @md.anisurrahman9459
      @md.anisurrahman9459 ปีที่แล้ว

      @@FlightPhysical Thank you. It works.

    • @Aaaaaaaaaaaaaa132
      @Aaaaaaaaaaaaaa132 ปีที่แล้ว +1

      I have the same problem. Could you help me if you have the solution? Moving listing route higher doesn't solve the error

  • @jeromeyoung3152
    @jeromeyoung3152 2 ปีที่แล้ว +1

    Amazing course, thank you Traversy Media! I'm being transparent about this course though. I'm new to the backend world and just know the basics of javascript and how the DOM in javascript works as a scope of my knowledge with a coding language. However, I got to the database section and felt super overwhelmed trying to understand where/what connects to what and what everything is doing through this laravel application. So, I started the course completely over. So, the second time around, I literally went through each section Trasversy Media covers and once he covered it, I would pause the video and write down the code, name, and a short meaning of what he covered, and that helped me tremendously! I HIGHLY recommend that for any newbie developer that's coming into the tech space or learning PHP/laravel for the first time. The reason why I suggest it is because it doubles your learning by soaking it in from doing the course along with Trasversy Media but also writing it down gives you clarity, explaining what that snippet of code is doing as well as the name of it. And lastly, redoing what you just got taught from your brain and no notes will test you on the syntax as well as you developing the skill of talking things out loud to solve the problem.
    PS: I hope this message reaches future developers trying to learn Laravel! I know you can do it, just remind yourself. If you can build laravel applications that immediately give you the permission to ask for at least $60k at any company, and for most of us that is life-changing and from there it only increases even higher for you. So, just endure this short-term struggle now, and afterward, you'll reap the rewards of your hard work and success!🙌😃

  • @MyBoxer96
    @MyBoxer96 2 ปีที่แล้ว +3

    Brad can we get a full fledge Laravel course on Udemy?

    • @ashraful07
      @ashraful07 2 ปีที่แล้ว

      I also waiting for full pledge laravel course

  • @RockstahRolln
    @RockstahRolln 2 ปีที่แล้ว

    I can't believe this! I jumped out of my seat and screamed with joy when I saw this video pop up in my feed. Not sure if Thank You is enough Sir Traversy for all that you do for us. Many Many Thanks and Stay Blessed!

  • @richiexp2
    @richiexp2 2 ปีที่แล้ว +5

    Hi Brad, is it possible you can do a course on python just like your Modern JavaScript course in Udemy?

    • @TraversyMedia
      @TraversyMedia  2 ปีที่แล้ว +6

      Yes, that is possible, but I need to update Modern JS first. It's been a while. Yeah I would like to do something on Python eventually.

    • @richiexp2
      @richiexp2 2 ปีที่แล้ว +1

      @@TraversyMedia Great stuff man and keep up the good work....

  • @jamball2
    @jamball2 2 ปีที่แล้ว

    Thank you for this course! I started on a paid Laravel course, and after the course instructing the downloading of an incredible amount of helpers, addons, apps and tools, reached a point that was not able to continue due to some, still unknown, problem I could not resolve. Even after watching sections over and over and downloading the repository for that section. This course was straight forward, easy to follow and best of all; easy on my development system configuration. Keep up the great content. Thank you again!!!

  • @bankin3119
    @bankin3119 ปีที่แล้ว +4

    Really nice course...noticed the CSS isn't working anymore, it just stopped... anyone else experiencing this?

    • @hissatsu_u
      @hissatsu_u ปีที่แล้ว

      it is working fine for me

    • @bankin3119
      @bankin3119 ปีที่แล้ว +1

      @@hissatsu_u yeah ...I think it was a network issue

  • @eduardocuadraneyra
    @eduardocuadraneyra 10 หลายเดือนก่อน +1

    great skills for teahcing, never felt a course so ligth, but really complete and advance, THANK YOU SO MUCH GREAT WAY TO START THE YEAR.

  • @looksintolasers
    @looksintolasers ปีที่แล้ว +3

    In a project like this, would you develop the front end HTML files (like you have in _laragigs_theme) first before building out the back-end? If so, would it be fully styled or more of a boilerplate thing?

    • @miguelemmara5046
      @miguelemmara5046 ปีที่แล้ว +2

      I would, probably would wait for the front end team to hand us (backend) some mock up details XD

    • @hansheinrich700
      @hansheinrich700 ปีที่แล้ว +1

      I'm working with winter cms (built on laravel) on a daily basis and I always start with the backend. I get the screen design from my ux designer tho

    • @mztaheebraheem4526
      @mztaheebraheem4526 ปีที่แล้ว

      @@hansheinrich700 hi, as a new bee in tech who is interested in learning laravel, is it possible to be good in laravel without being very good in php

    • @thenewsmargstv1816
      @thenewsmargstv1816 ปีที่แล้ว

      @@mztaheebraheem4526 Laravel is a PHP Framework so you can't skip it

  • @leopoldomedeiros8420
    @leopoldomedeiros8420 2 ปีที่แล้ว +1

    Hey mate. I'm not sure if you'll read this comment but I'd to say a huge THANK YOU for this tutorial. I learnt A LOT and I'd say more: Because of this tutorial and the learning I acquired from this a got a job. Super, super, super, super thank you for your job on TH-cam. All the best of luck to you. I live in Dublin, Ireland. 😀

  • @stematcen
    @stematcen 9 หลายเดือนก่อน

    Just completed the app. Brad, you do a great job of explaining Laravel Framework, request response cycle, php and more all in one easy to follow tutorial. Awesome production!

  • @mr.yacine5855
    @mr.yacine5855 ปีที่แล้ว +1

    In five days I finished watching this entire video and learned a lot about this framework , Thank you
    شكرا لك ❤❤❤❤

  • @shaung75
    @shaung75 2 ปีที่แล้ว +1

    This has been really useful, and for someone with a low attention span I was able to watch the whole 4hrs. Thanks man!

  • @TheNarancia
    @TheNarancia ปีที่แล้ว +1

    Thank you for your work Brad. I'm developing a quite complex app in Laravel and now are some months that I'm into this project at work.
    I was reviewing some content from this scratch course and now I can follow everything quite easy and it's so helpful, there was a lot of helpers that I forgot that are so useful.
    Thank you for everything and for spreading the joy of coding and of knowledge 🙂❤

  • @hoobnet
    @hoobnet ปีที่แล้ว

    You explained just the right things so that I understand both the why and the how, plus the little quirks that help with the inevitable trouble-shooting that's required at times. The Laravel videos on a certain paid website are more like typing classes.

  • @Campusdrift
    @Campusdrift 2 ปีที่แล้ว +1

    I am your fan since 2019 and you made my career and whatever I am today

  • @jaredbecker3152
    @jaredbecker3152 ปีที่แล้ว +1

    Brad huge thanks for this crash course man! I honestly love that the entire video is unedited to show the problems you run into and how you solve them. I really learnt a ton from this and can't wait to take these new found skills and build something awesome!💪🏻😁

  • @taiwoadebola5617
    @taiwoadebola5617 2 ปีที่แล้ว +1

    Brad I started watching your videos during the lockdown and they have helped me tremendously. I appreciate you man

  • @ceethesec
    @ceethesec ปีที่แล้ว

    i like how you run through all of the codes and revisit them everytime they get referenced from another code, something that i would always ask. thank you so much for this!

  • @nickywan123
    @nickywan123 2 ปีที่แล้ว

    My prayers has been answered. I was requesting Brad to make a Laravel 9 video last week and my dream come true.

  • @angelgomez9246
    @angelgomez9246 8 หลายเดือนก่อน

    Thanks man, I just finished the project, there were a lot of issues but in the comments there are a lot of help, so thanks to everyone too.

  • @SinMelchiah
    @SinMelchiah ปีที่แล้ว

    I have a job but I did manage to get through this in about 5 days (1-2 hours a day while coding and taking notes) Awesome tutorial, much better than the previous you did. This one really gets you in to the MVC workflow. And now after this amount of back and fourth between routes, views, controllers and models while tinkering around, I got closer to a homebrew project I wish to do, so really thank you for that! I have tons of questions but I'll try to stick to the documentation and online searches. Best of wishes!

    • @abdulwasay9817
      @abdulwasay9817 ปีที่แล้ว

      did he also made a project in this video?

  • @sergiosebastiani6045
    @sergiosebastiani6045 ปีที่แล้ว

    This course is great! It is not simply a list of Laravel features. For those who have experience with PHP it illustrates how each Laravel feature is implemented and that makes everything much more understandable. Thank you Brad

  • @oohkumar
    @oohkumar ปีที่แล้ว

    Great so far. I'm a quarter the way through. Regarding Xampp installation with Laravel on the Mac. I needed to install PHP on my Mac (via Homebrew), then Composer (globally), then XAMPP, then Laravel (via Composer). The only hiccup was getting a write error about the logging file which was fixed by then setting the permissions for the storage folder via: chmod -R 777 example-app/storage (from the htdocs folder)

  • @joshuarebello9430
    @joshuarebello9430 2 ปีที่แล้ว

    I haven't coded laravel in more than a year and I may have an interview tomorrow. I'm writing this before I watch the tut, wish me luck.
    Edit: Was worth it, thanks!

  • @jainkorby3672
    @jainkorby3672 2 ปีที่แล้ว

    I can't even say how long I've been desperately looking for a good laravel tutorial and then you. Thank you for everything that you're doing. Go on!