Laravel From Scratch | 4+ Hour Course

Поділитися
Вставка

КОМЕНТАРІ • 1,3 тис.

  • @TraversyMedia
    @TraversyMedia  2 роки тому +569

    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 UA-cam that you can check out first if needed - ua-cam.com/video/BUCiSSyIGGU/v-deo.html
    I also have an API project with Sanctum Authentication - ua-cam.com/video/MT-GJQIY3EU/v-deo.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

  • @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

  • @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 9 місяців тому +2

      You are a legenderay persona! Thanks a heap.

  • @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

  • @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! 🙂

  • @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!

  • @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

  • @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!

  • @adamchengula4171
    @adamchengula4171 2 роки тому +164

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

  • @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!

  • @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 :)

  • @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.

  • @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!

  • @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

  • @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. 😄

  • @simonnjoroge
    @simonnjoroge Рік тому +7

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

  • @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!

  • @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.

  • @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 💪

  • @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

  • @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.

  • @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! 😊

  • @BsiennKhan
    @BsiennKhan 2 роки тому +3

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

  • @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!

  • @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!!!

  • @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

  • @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.

  • @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!

  • @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.

  • @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

  • @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🙏

  • @ElmoPlayss
    @ElmoPlayss 6 місяців тому +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

  • @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 :)

  • @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!

  • @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

  • @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.

  • @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.

  • @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.

  • @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!

  • @gerardasbarstys1957
    @gerardasbarstys1957 2 роки тому +2

    I think this is the best course I ever watched so far, thank you for the clear explanations.

  • @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 🙏🙏🙏

  • @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!

  • @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!

  • @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!

  • @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

  • @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. :)

  • @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:)

  • @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?

  • @mr.yacine5855
    @mr.yacine5855 Рік тому +1

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

  • @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

  • @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.

  • @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!

  • @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
      }

  • @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.

  • @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.

  • @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!💪🏻😁

  • @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.

  • @taiwoadebola5617
    @taiwoadebola5617 2 роки тому +1

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

  • @mirasrobert806
    @mirasrobert806 2 роки тому +5

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

  • @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!

  • @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....

  • @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

  • @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

  • @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!

  • @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

  • @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 🎉

  • @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

  • @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!!

  • @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

  • @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!

  • @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 🙂❤

  • @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!!!

  • @kadexdark
    @kadexdark 2 роки тому +1

    Thanks a lot for this, you're making me learn A LOT! I am currently working with Laravel for the first time in my life and I was totally lost. I'm following this tutorial step by step and now I feel much more confident at work.
    Thank you again!

  • @Campusdrift
    @Campusdrift 2 роки тому +1

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

  • @lexerquine3008
    @lexerquine3008 Рік тому

    your voice is my asmr, from the bottom of my heart thank you for all you do, please never stop. thank you

  • @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.

  • @priyankaprynka7244
    @priyankaprynka7244 Рік тому

    i was struggling with getting clarity in laravel , this project was so so helpful. I tried all concepts shown in this video. Thank you for this video.

  • @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.

  • @kerimtim
    @kerimtim Місяць тому

    Hi Brad,
    I've watched so many of your tutorials, and you're fantastic at working efficiently on a Mac! I'm in the process of switching from Windows to Mac, but I'm finding the keyboard shortcuts a bit challenging. It might sound a bit odd, but I'd love to see how you physically use your keyboard while working on a Mac. Specifically, how you position your fingers and how you handle the Command key (which is like Control on Windows, but placed differently on the Mac). I really appreciate your work and all the value you bring. Thanks in advance!

  • @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.

  • @patton72010
    @patton72010 2 роки тому +1

    Perfect timing, I was just about to start to rewatch some old Laravel videos but I can do this instead. Thank you for this tutorial.

  • @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!

  • @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.

  • @dishmaco
    @dishmaco 2 роки тому

    Your voice is so chill to listen to! Great content, not too much extra stuff going on. Appreciate you for making this course!

  • @KatKatsu
    @KatKatsu 2 роки тому

    One of the best tutorial, i now understand why things are the way they are. This tutorial showed me what's under the hood

  • @fire23hummer
    @fire23hummer 2 роки тому

    The course may be short in time but very dense in information. It took me 2 days to watch and understand most of the concepts. Thank you Brad.

    • @dtb8008
      @dtb8008 2 роки тому

      do you code along?

  • @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.

  • @ahooton
    @ahooton Рік тому

    One thing to point out here if not mentioned already... When deleting a listing, the image file itself still remains in the storage/app/public/images folder. I managed to solve this by adding an 'if' statement to the destroy method which checks for the existence of the image file path / not null. If true then the file can be deleted using Storage::delete('public/' . $imageFilePath). Have also added a cool fade-out effect for the flash messages and set the URL slugs to match the listing title (instead of id). Had to modify some of the controller methods but it's all working. Thanks Brad - love the channel!

  • @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!🙌😃

  • @TheKwame83
    @TheKwame83 2 роки тому

    You are a great teacher! This is my first time with Laravel and I must say I tried other tutorials and I didn't like them but when I was divinely led to your channel, it has been smooth running for me. I'll recommend you any day. God bless you.

  • @renends7615
    @renends7615 2 роки тому

    This course was great for understanding how Laravel works.
    Very complicated features have been simplified.
    A very fun tutorial, as soon as a question came up the answer was immediately provided.
    Thanks!

  • @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.

  • @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!