Laravel From Scratch | 4+ Hour Course

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • Learn the Laravel PHP framework from scratch by building a job listings application with Laravel and MySQL.
    ⭐ Sponsor:
    linode.com/traversy
    💻 Github Repo:
    github.com/bradtraversy/laragigs
    💻 Gists:
    Laravel Valet Setup:
    gist.github.com/bradtraversy/...
    Laravel Xampp Setup:
    gist.github.com/bradtraversy/...
    MySQL Cheat Sheet:
    gist.github.com/bradtraversy/...
    💻 My Courses & More
    traversymedia.com
    👇 PHP OOP MVC Udemy Course:
    www.udemy.com/course/object-o...
    💖 Show Support
    Patreon: / traversymedia
    PayPal: paypal.me/traversymedia
    👇 Follow Me On Social Media:
    Twitter: / traversymedia
    Instagram: / traversymedia
    Linkedin: / bradtraversy
    Timestamps:
    0:00 - Intro
    1:30 - Linode Sponsor
    2:13 - Project Demo
    6:21 - Setting Up Laravel
    13:50 - Routing & Responses
    19:28 - Wildcard Endpoints
    20:16 - Route Constraints
    21:06 - Die Dump Helpers
    22:30 - Request & Query Params
    26:26 - API Routes
    28:26 - View Basics & Passing Data
    32:36 - Blade Templates & Basic Directives
    36:42 - Creating a Basic Model
    43:46 - Database Setup & Config
    46:03 - Create Database & User
    48:44 - Creating Database Migrations
    52:44 - Running Migrations
    54:06 - Database Seeding
    58:29 - Create an Eloquent Model
    1:02:49 - Creating a Factory
    1:07:18 - Creating a Layout & Sections
    1:09:54 - Adding the Theme HTML
    1:19:02 - Template Partials
    1:22:54 - Single Listing Formatting
    1:26:00 - Route Model Binding
    1:28:18 - Blade Components
    1:32:53 - Component Attributes
    1:35:20 - Tags Component
    1:40:38 - Controllers
    1:44:09 - Resource Method Naming
    1:46:34 - Using a Layout Component
    1:49:08 - Tag Filter
    1:57:31 - Search Filter
    2:01:29 - Clockwork Package
    2:04:05 - Create Listing Form
    2:10:39 - Validation & Store Listing
    2:23:30 - Mass Assignment Rule
    2:27:20 - Flash Messages
    2:32:49 - Alpine.js For Message Removal
    2:36:33 - Keep Old Data In Form
    2:38:46 - Pagination
    2:45:20 - File Upload
    2:57:24 - Edit Listing
    3:09:16 - Delete Listing
    3:13:32 - User Registration
    3:30:00 - Auth Links
    3:32:46 - User Logout
    3:37:20 - User Login
    3:47:02 - Auth & Guest Middleware
    3:51:30 - Relationships
    3:59:05 - Tinker Tinkering
    4:01:35 - Add Ownership to Listings
    4:05:31 - Manage Listings Page
    4:14:22 - User Authorization
  • Věda a technologie

Komentáře • 1,3K

  • @TraversyMedia
    @TraversyMedia  Před 2 lety +558

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

    • @marcolancellotti8114
      @marcolancellotti8114 Před 2 lety +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 Před 2 lety

      Really enjoyed, thank you for your effort brad

    • @wibowomuhmmad
      @wibowomuhmmad Před 2 lety +1

      thank brad

    • @deadheartalone
      @deadheartalone Před 2 lety +2

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

    • @MinhTechie
      @MinhTechie Před 2 lety

      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 Před 2 lety +285

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

    • @TraversyMedia
      @TraversyMedia  Před 2 lety +31

      Awesome! congrats

    • @pratikshrestha1026
      @pratikshrestha1026 Před 2 lety +14

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

    • @mohamadrfawaz4859
      @mohamadrfawaz4859 Před 2 lety +2

      what s the path you took after finishing this project?

    • @pratikshrestha1026
      @pratikshrestha1026 Před 2 lety +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 Před 2 lety

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

  • @iosebmatiashvili8890
    @iosebmatiashvili8890 Před 2 lety +369

    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  Před 2 lety +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 Před 2 lety +16

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

    • @RealHomeboy
      @RealHomeboy Před 2 lety +22

      PHP is also perfectly suitable for enterprise level applications.

    • @numanakhtersiddiqui6573
      @numanakhtersiddiqui6573 Před 2 lety +3

      @@TraversyMedia thanks for this course. 💯❤

    • @DaniSpeh
      @DaniSpeh Před 2 lety +12

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

  • @axelramirezludewig306
    @axelramirezludewig306 Před rokem +195

    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 Před rokem +1

      how much time it took to compete this video?

    • @eliodbomboy6063
      @eliodbomboy6063 Před rokem +4

      0ne week..because i had to learn documentation

    • @shravyashetty3115
      @shravyashetty3115 Před rokem

      @@eliodbomboy6063 okay thanks

    • @eliodbomboy6063
      @eliodbomboy6063 Před rokem

      @@shravyashetty3115 you are welcome

    • @axelramirezludewig306
      @axelramirezludewig306 Před rokem

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

  • @Another_Look
    @Another_Look Před rokem +138

    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 Před rokem +3

      Thanks a lot bro .. God bless you. 🙏

    • @tarkuslu161
      @tarkuslu161 Před rokem +2

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

    • @MaxTaylorHayden
      @MaxTaylorHayden Před 11 měsíci +2

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

    • @Controvi
      @Controvi Před 6 měsíci +1

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

    • @trikooCreates
      @trikooCreates Před 6 měsíci +2

      You are a legenderay persona! Thanks a heap.

  • @skellybrownston3641
    @skellybrownston3641 Před 2 lety +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.

  • @scriptster6805
    @scriptster6805 Před rokem +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!

  • @mahiraseef
    @mahiraseef Před rokem +66

    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.

  • @kwanele_dev
    @kwanele_dev Před 9 měsíci +8

    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!

  • @ocquintus6751
    @ocquintus6751 Před 2 lety +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

  • @fredoscott2346
    @fredoscott2346 Před 2 lety +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 :)

  • @syouske4496
    @syouske4496 Před 3 měsíci +8

    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 Před 2 měsíci

      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?

  • @JohnathanBrown
    @JohnathanBrown Před 2 lety +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!

  • @adamchengula4171
    @adamchengula4171 Před 2 lety +165

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

  • @philipespersen2694
    @philipespersen2694 Před rokem +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!

  • @OskarBravo
    @OskarBravo Před 2 lety +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!

  • @DhImAs92
    @DhImAs92 Před 2 lety +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!

  • @dennismitchell8507
    @dennismitchell8507 Před 2 lety +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. :)

  • @hughmungus1767
    @hughmungus1767 Před rokem +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 Před rokem +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 Před rokem +1

      @@NuggetsLess You're most welcome!

    • @vitaliju1
      @vitaliju1 Před rokem

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

    • @Icecoustica
      @Icecoustica Před rokem

      awesome! you saved my time haha

    • @Adama4oo
      @Adama4oo Před rokem

      thanks mate! you are awesome 💪

  • @mikseros123
    @mikseros123 Před rokem +25

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

  • @TheCodeholic
    @TheCodeholic Před 2 lety +111

    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 Před 2 lety +2

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

    • @TheCodeholic
      @TheCodeholic Před 2 lety

      @@emmanuelochubili Thanks my friend

    • @jaywaldluna3158
      @jaywaldluna3158 Před 2 lety +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 Před 2 lety

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

    • @TheCodeholic
      @TheCodeholic Před 2 lety +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.

  • @kudamasangomai
    @kudamasangomai Před 2 lety +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

  • @jaredbecker3152
    @jaredbecker3152 Před 10 měsíci +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!💪🏻😁

  • @drjonbear7517
    @drjonbear7517 Před rokem +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!

  • @SiriusPhil
    @SiriusPhil Před 2 lety +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.

  • @mikonimo
    @mikonimo Před 2 lety +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🙏

  • @robbitjuice2115
    @robbitjuice2115 Před 2 lety +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!

  • @tesshartis6684
    @tesshartis6684 Před 2 lety +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!!!

  • @yodaru
    @yodaru Před 10 měsíci +3

    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!

  • @peksonholinificent7056
    @peksonholinificent7056 Před 2 lety +31

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

    • @genesdada7045
      @genesdada7045 Před rokem

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

  • @sergiosebastiani6045
    @sergiosebastiani6045 Před rokem

    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

  • @jainkorby3672
    @jainkorby3672 Před rokem

    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!

  • @simonnjoroge
    @simonnjoroge Před rokem +7

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

  • @adriaandelange1797
    @adriaandelange1797 Před 2 lety +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

  • @ceethesec
    @ceethesec Před rokem

    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!

  • @okonvick
    @okonvick Před rokem

    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!

  • @BsiennKhan
    @BsiennKhan Před 2 lety +2

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

  • @NuggetsLess
    @NuggetsLess Před rokem +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.

  • @saschabacker4755
    @saschabacker4755 Před 2 lety

    One of the best Laravel out there in YT! Thank you so much! You help me to unterstand Laravel from Scratch! Nice voice and good explanaitions!

  • @hughmungus1767
    @hughmungus1767 Před rokem

    Thank you Brad for an excellent course that was extremely well taught!! I say that as an experienced trainer who made his living teaching adult IT professionals for many years. I really appreciate your style of teaching, including the pacing, the level of detail, the balance between theory and practical knowledge and the sheer usefulness of what you've shown me in this course (and others).

  • @MultiTrickster121
    @MultiTrickster121 Před 5 měsíci +10

    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 Před 5 měsíci +1

      Thanks a lot man !!!

    • @MultiTrickster121
      @MultiTrickster121 Před 5 měsíci

      @@angelgomez9246No problem :)

    • @iron_orange
      @iron_orange Před 4 měsíci +1

      Thank you friend!

    • @kazimamine
      @kazimamine Před měsícem

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

    • @kazimamine
      @kazimamine Před měsícem

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

  • @looksintolasers
    @looksintolasers Před rokem +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 Před rokem +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 Před rokem

      @@marcofloriano you are fake news!

  • @jamball2
    @jamball2 Před rokem

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

  • @leannemillar7826
    @leannemillar7826 Před rokem

    This is such an in depth and informative course. I've been meaning to get round to learning Laravel but got distracted with React and TypeScript. This was a brilliant introduction. Feel like i've learned enough to go away and build some really cool projects that have been on my hit list. Thanks Brad!

  • @aaronthomas658
    @aaronthomas658 Před rokem +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.

  • @BillElgin
    @BillElgin Před rokem +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.

    • @abhishekperera77
      @abhishekperera77 Před rokem

      same issue

    • @colinaustin8421
      @colinaustin8421 Před rokem +25

      @@abhishekperera77 You can make the ovveride !important. e.g.

    • @abhishekperera77
      @abhishekperera77 Před rokem

      @@colinaustin8421 ❤️

    • @ionutdrg45
      @ionutdrg45 Před 10 měsíci

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

    • @BonnUmunna
      @BonnUmunna Před 9 měsíci

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

  • @timwong7507
    @timwong7507 Před rokem

    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 🎉

  • @gerardasbarstys1957
    @gerardasbarstys1957 Před rokem +2

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

  • @peterpaulinus9867
    @peterpaulinus9867 Před 2 lety +4

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

  • @alfredomenezes8814
    @alfredomenezes8814 Před rokem +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!

  • @TheKwame83
    @TheKwame83 Před 2 lety

    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.

  • @kadexdark
    @kadexdark Před 2 lety +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!

  • @CodestarTechnologies
    @CodestarTechnologies Před 2 lety +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  Před 2 lety +3

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

    • @DaniSpeh
      @DaniSpeh Před 2 lety

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

  • @mirasrobert806
    @mirasrobert806 Před 2 lety +5

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

  • @raman3931
    @raman3931 Před rokem

    BIG THANKS! I coded along and completed this course in few weeks. I am gearing up after a career break in PHP programming. This was a enw thing for me, but you made it simple easy Brad... Again thanks.. keep it up!!

  • @TechHorizonUnveiled
    @TechHorizonUnveiled Před 2 lety

    Brad's tutorials are always so friendly and full of love. The BEST! Thank you man 😊

  • @teknofi404
    @teknofi404 Před rokem +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 Před rokem +1

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

    • @teknofi404
      @teknofi404 Před rokem +2

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

  • @senX
    @senX Před 2 lety +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.

  • @taiwoadebola5617
    @taiwoadebola5617 Před 2 lety +1

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

  • @Pyuras
    @Pyuras Před rokem +18

    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 Před rokem +1

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

    • @RealHomeboy
      @RealHomeboy Před 8 měsíci

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

  • @hughmungus1767
    @hughmungus1767 Před rokem +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 Před rokem +1

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

  • @TheNarancia
    @TheNarancia Před 9 měsíci +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 🙂❤

  • @thigarette1
    @thigarette1 Před 2 lety +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

  • @crankyinmv
    @crankyinmv Před rokem +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 Před rokem +2

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

    • @devynkaylor-owens3577
      @devynkaylor-owens3577 Před rokem

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

    • @emmanueluwadone
      @emmanueluwadone Před rokem

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

    • @rkelloggidaho
      @rkelloggidaho Před 8 měsíci

      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 Před 8 měsíci

      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
      }

  • @maulvieyazid7652
    @maulvieyazid7652 Před 2 lety +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  Před 2 lety +1

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

    • @Ribby00
      @Ribby00 Před 2 lety

      I'll check this out. Thank you!

    • @ajimahifeanyi2784
      @ajimahifeanyi2784 Před 2 lety

      Thanks. Is Laragon free?

    • @webdevlounge
      @webdevlounge Před 2 lety +1

      @@ajimahifeanyi2784 Yes it is

    • @hithertounknown1989
      @hithertounknown1989 Před 2 lety

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

  • @gabrielteixeira2245
    @gabrielteixeira2245 Před 2 lety

    Thank you, Brady! Really appreciate you taking all the time it took you just to share it with us!

  • @patton72010
    @patton72010 Před 2 lety +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.

  • @rostrek9451
    @rostrek9451 Před 2 lety +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.

  • @kamiajaneabetchuela1326
    @kamiajaneabetchuela1326 Před rokem +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 Před rokem +2

      Having the same issue

    • @justin49501
      @justin49501 Před rokem +1

      Same issue here, have you found a solution?

    • @FlightPhysical
      @FlightPhysical Před rokem +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 Před rokem

      @@FlightPhysical Thank you. It works.

    • @Aaaaaaaaaaaaaa132
      @Aaaaaaaaaaaaaa132 Před 10 měsíci +1

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

  • @shishirkumarsky
    @shishirkumarsky Před 2 lety

    Brad, how much of time have been passed since I started my journey with your videos. I considered myself quite successful now, you are always come with such a wonderful course everytime, thank you.

  • @shaung75
    @shaung75 Před 2 lety +1

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

  • @looksintolasers
    @looksintolasers Před rokem +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 Před rokem +2

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

    • @hansheinrich700
      @hansheinrich700 Před rokem +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 Před rokem

      @@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 Před 10 měsíci

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

  • @richiexp2
    @richiexp2 Před 2 lety +5

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

    • @TraversyMedia
      @TraversyMedia  Před 2 lety +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 Před 2 lety +1

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

  • @muzoorabarnabas3461
    @muzoorabarnabas3461 Před 2 lety +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

  • @bankin3119
    @bankin3119 Před rokem +4

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

    • @hissatsu_u
      @hissatsu_u Před rokem

      it is working fine for me

    • @bankin3119
      @bankin3119 Před rokem +1

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

  • @MyBoxer96
    @MyBoxer96 Před 2 lety +3

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

    • @ashraful07
      @ashraful07 Před 2 lety

      I also waiting for full pledge laravel course

  • @liteninkiran
    @liteninkiran Před 2 lety

    Hi Brad. Thanks for uploading another video. I haven't watched it all yet, but I am really looking forward to it. Your videos are by far the best. You put so much effort into all of them. Thank you so much for the free content.

  • @renends7615
    @renends7615 Před 2 lety

    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!

  • @Chris-Ober
    @Chris-Ober Před 2 lety

    I am more than half way through.. and I gotta say, your video is awesome!
    The project, the structure, the provided material, the way you explain, even the way you talk and your voice.. very good and understandable.. compfortable to listen to as well.
    Thank you a lot :)

  • @tigranavagyan1587
    @tigranavagyan1587 Před 2 lety

    I recently started learning Laravel and was looking for the right training video.
    In my opinion, this format is very convenient. You can always pause to learn new material and come back to continue learning.
    I really liked learning by creating a whole project.
    Thank you very much for your work, thanks to you I got acquainted with such a wonderful framework as Laravel in the shortest possible time.
    Good luck and success in your future projects!!!

  • @LogicLoomWithEela
    @LogicLoomWithEela Před 2 lety

    I just finished this video I must say a Big Thank you, Brad. This is really a good one and we love it. Thanks once again and keep up the good work.

  • @PrashantTondale
    @PrashantTondale Před rokem

    Hello Brad , I have just started this course and the way you explain is just amazing . Making things so simpler.!!!

  • @dishmaco
    @dishmaco Před rokem

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

  • @grzesiekb9142
    @grzesiekb9142 Před 2 lety

    Thank you Brad. Excellent job. I have learned a lot from you. I was just looking for information on Laravel and saw your course. You do great courses, you have a talent for it. From you, I learned the basics of both Laravel and React. Thank you so much.

  • @ssahil0
    @ssahil0 Před rokem

    Thanks for making this course Brad. I was looking for such a simple and easy to understand course for Laravel.

  • @dzoni7786
    @dzoni7786 Před 2 lety

    Brad, I needed this one! Thank you very much! For me you and Edwin Diaz are the best mentors and teachers for IT!

  • @duanesmit4032
    @duanesmit4032 Před 3 měsíci +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!

  • @stematcen
    @stematcen Před 6 měsíci

    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!

  • @jeffrey3075
    @jeffrey3075 Před rokem +1

    Great work Brad. Your explaination is really direct and easy to follow, I followed some of your tutorials and it helped me immense in my process. This again a perfect project example with major usecases that reflect real life projects. I must say I really enjoy Laravel, I now understand why it's so in favor.

  • @tularem
    @tularem Před 2 lety

    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

  • @zakur0hako
    @zakur0hako Před 2 lety

    Thank you for your work. It has to be very challenging coming with such awesome lengthy tutorials

  • @videocommenter235
    @videocommenter235 Před rokem +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.

  • @LoukasSC
    @LoukasSC Před 2 lety

    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.

  • @miguelangelgaray7682
    @miguelangelgaray7682 Před 2 lety

    Took me quite a bit to completed it while adjusting a couple little things working with Laravel Sail + docker 4 the first time, but it worth it. Thanks a lot 4 your patience and awesome content.

  • @ganguru123
    @ganguru123 Před 2 lety

    Thanks man, this was one of the best courses/tutorials i've seen on youtube.

  • @eduardocuadraneyra
    @eduardocuadraneyra Před 6 měsíci +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.

  • @katmusic3725
    @katmusic3725 Před rokem

    Thank you so much!! I learned a lot! You made it so clear, I really appreciate your tutorial!
    Even I finished it, I'll definetly come back on it regularly! You covered almost everything we need to know about Laravel! Big up!!

  • @maximus3159
    @maximus3159 Před 10 měsíci

    Great course! Never thought it would be so simple to teach something so complex so easily!

  • @armandoa3186
    @armandoa3186 Před 10 měsíci

    Thank you for taking the time to make this video. As a developer looking to step into the Laravel world, this was such a well made and informative video. I look forward to watching more of your videos. Cheers!

  • @alirasimoglu
    @alirasimoglu Před 10 měsíci

    Brad, you are dope mate. Thanks for taking time for the community. Appreciate it.