Laravel Tutorial For Beginners (Simple User CRUD App)

Join my full project-based Laravel course learnwebcode.teachable.com/p/...
Learn how to let users register, log in, log out, create blog posts, query for only blog posts they've authored, and more.
Source Code From Video: github.com/LearnWebCode/youtu...
Dev Environment Setup Video: • How To Get Started Wit...
0:00 Intro
3:04 Creating New Project
11:00 Controllers
15:23 Validating Form Submits
20:03 Database
24:54 Log In & Log Out
34:05 Blog Posts
48:43 Display Posts
58:09 Edit & Delete Posts
Follow me for updates on new videos or projects:
Instagram: / javaschiff
Twitter: / learnwebcode
Facebook: / brad-schiff-1542576316...
Twitch: / learnwebcode

Пікірлер: 206

  • @LearnWebCode
    @LearnWebCode Жыл бұрын

    Hey everyone, I didn't follow a detailed script for this video, just a general outline, and I forgot to take care of the detail that only logged in users should be able to create posts. In our PostController method that creates posts, you could simply wrap that action in an "if" check using auth()->check() as the condition. Also, the logic that checks if you're allowed to edit or delete a post will cause the "edit-post" URL to error if you're not logged in. I'm so used to using policies and middleware in Laravel to perform these types of permission checks that I oversimplified this example in this lesson. Hopefully the video was helpful in letting you understand the big picture aspects of Laravel, and I'd encourage you to research "Laravel Auth Middleware" and "Laravel Policies" for a much more organized and official way of handling permissions. We cover all of these topics in detail in my 14 hour premium Laravel course. Thanks! Brad

  • @lwiimbokasweshi

    @lwiimbokasweshi

    27 күн бұрын

    My show Edit function was modified a bit to remove the error when logged out. if(isset(auth()->user()->id)) { if(auth()->user()->id !== $post['user_id']) { return redirect('/'); } }else{ return redirect('/'); } Instead of just if(auth()->user()->id !== $post['user_id']) { return redirect('/'); }

  • @amerikan
    @amerikan Жыл бұрын

    Great tutorial! For the length of the video it’s very digestible. I think it touched on all the stuff I needed to get started. I’m coming from nodejs/express setup, so this got me up to speed. Thank you!

  • @jellix79
    @jellix79 Жыл бұрын

    Thank you so much!! You just took me by the hand and led me into the laravel world. Due to your calm and clean teaching I'm feeling really comfortable with that right now.

  • @historyoftheempire464
    @historyoftheempire4647 ай бұрын

    Never seen better teacher than you. Thanks for teaching us.

  • @simonlooker6000
    @simonlooker6000 Жыл бұрын

    Brad, you are a natural teacher. And you have obviously invested a lot of time in building your knowledge. Sincere thanks.

  • @BeyondtheBytes.Software

    @BeyondtheBytes.Software

    4 ай бұрын

    Absolutely true!

  • @sideshowlol
    @sideshowlol10 ай бұрын

    Brad's Laravel course has been very helpful for me. I had no clue about the inner-workings of Laravel before I went through Brad's course. It gave me a solid grounding in many important parts of the Laravel infrastructure and I'm a big fan of Brad's style of teaching which is always clear and understandable. Thanks to Brad's course, I am now involved in a fairly large Laravel-based project. Highly recommended. Thanks Brad! 🙏😎👍

  • @omarporteronassar1
    @omarporteronassar1 Жыл бұрын

    This was awesome man ! I always did vanilla PHP, and wanted to switch to Laravel, this makes things 10x easier to understand everything

  • @DavidGriffis
    @DavidGriffis5 ай бұрын

    Finally a basic video that gives you a good foundation. It gives you a practical understanding of the mvc components including routes and a look into best practices when it comes to models. Using the Visual Studio add on that includes module references is helpful too. Thanks so much!

  • @P3acemeiker
    @P3acemeiker8 ай бұрын

    I love the way you teach this. a total beginner has a chance. Good work!

  • @Monkers18
    @Monkers187 ай бұрын

    11 mins in, Im glad i found your channel this is the best tutorial I've ever watched. Other channels confuse me, this is perfect.

  • @MobiusCoin
    @MobiusCoin11 ай бұрын

    You taught me how to create WordPress themes from scratch 6 years and I've since turned it into a successful career and jump started my dev journey. Since then I've been through the JS/TS ringer and I'm just a little tired of the venture backed hype train of the Node world (everything is basically Vercel) so I'm back to do some comfy ol' PHP development. Excited to learn Laravel, I've only heard good things.

  • @PPartners_-iw4qq
    @PPartners_-iw4qq9 ай бұрын

    This is the best Laravel tutorial I have seen so far. Thanks so much.

  • @sakalansnow6579
    @sakalansnow6579 Жыл бұрын

    I just bought your Laravel course. The way you explain things are amazing.

  • @nav7682
    @nav76824 ай бұрын

    By far the best introduction video I have seen for PHP Laravel. Amazing work, clear and concise.

  • @josephm.6676
    @josephm.6676 Жыл бұрын

    Very timely. I have a php script to modify and hopefully start a small business. You can imagine my joy when my favourite teacher posts the exact framework I need for the project. Keep it up Brad. Kazi mzuri!

  • @LearnWebCode

    @LearnWebCode

    Жыл бұрын

    That's awesome timing! Thanks for the encouragement; best of luck on the new script & business!

  • @agneldominique352
    @agneldominique352 Жыл бұрын

    The Best Teacher on any platform available... gave us the most simple to digest Laravel tutorial for us .. i will definitely get the full course.. Iwas always confused on Laravel up till now.. Thankyou so much Brad..

  • @Epikht
    @Epikht Жыл бұрын

    Bro you’re my favorite teacher here Thank you

  • @scarestudent5064
    @scarestudent50649 ай бұрын

    This is actually the best course i found here on KZread,if i could buy your course i would without hesitation,thank you so much

  • @randomhominid9816
    @randomhominid98167 ай бұрын

    Good tutorial that lived up to it's title. I now have a foothold on CRUD in Laravel. This was a nice example and explained just right.

  • @SharkFaceKilla
    @SharkFaceKillaАй бұрын

    This was great to get a quick idea of how to use PHP and Laravel, thank you for this!

  • @primal4219
    @primal421911 ай бұрын

    2 minutes in and already love it, basic styling of it just makes me happy, all of those other courses like 70% of a time its about styling and not actually about functionality of laravvel

  • @primal4219

    @primal4219

    11 ай бұрын

    33:58

  • @awebcode
    @awebcode13 күн бұрын

    After long time sufferring..I Finally understood. Thanks for clear presentation and teaching

  • @watsoncyrusanikwai3888
    @watsoncyrusanikwai3888 Жыл бұрын

    Brad, happy to see any project that involves laravel workflow as well.

  • @musimbaalex4717
    @musimbaalex471711 ай бұрын

    I have a project that is basically in line with your tutorial. I have been able to build most part of the project using your guideline. lots of gratitude all the way from Kenya 😄

  • @europauniversalis5406
    @europauniversalis5406 Жыл бұрын

    You have a talent as a teacher and I really enjoyed this video. Subscribed and looking into your full course. Thank you!

  • @gear1100
    @gear11003 ай бұрын

    Great tutorial, perfect cadence and clarity on everything. 😊 Thanks! I look forward to watching more of your tutorials.

  • @chibuzoronochie604
    @chibuzoronochie604 Жыл бұрын

    You are a Teacher indeed. WELLDONE!

  • @kerimtim
    @kerimtim Жыл бұрын

    This is exactly what I was looking for. Great video tutorial Brad. Bravo!!

  • @rizmandesu
    @rizmandesu8 ай бұрын

    26 minutes into the video and i must say, this is really informative for beginner like me. Thank you for the video.

  • @soumyajeetsengupta3108
    @soumyajeetsengupta3108 Жыл бұрын

    Just completed the complete video. I really want to thankyou from the bottom of my heart. Other tutorials just they were coding and no much this good explanation. From you I learned and I also learned what we are doing and why are we doing it. I really enjoyed learning from you. Thankyou so so much. Looking forward to learn more from you.

  • @LearnWebCode

    @LearnWebCode

    Жыл бұрын

    Thanks so much for the comment; focusing on the "why" in my lessons so that it makes sense for people is why I do what I do; it's so awesome to hear that it's actually helping. Cheers!

  • @DylRicho
    @DylRicho11 ай бұрын

    Thank you Brad for this great introduction to Laravel. I've been meaning to look into it for a while but I didn't know if I would pick it up easily. While I wouldn't say I necessarily understand the MVC structure exactly, I do have a basic understanding. I'm coming from PHP and I've never done OOP before, so this is excellent. I will be heading on over to your course to continue learning. You are an excellent teacher.

  • @DylRicho

    @DylRicho

    2 ай бұрын

    9 months later, I am in love with Laravel, and I'm using it on all of my largest projects. Thank you so much.

  • @metsumilitia
    @metsumilitia Жыл бұрын

    Loved this crash course... actually I bought it because I loved the way Laravel works and iI wanna know more about it. Thanks a lot!!

  • @mohammad-hosseinhashemian6804
    @mohammad-hosseinhashemian6804 Жыл бұрын

    this video changed my view to laravel! for sure i'll try it.

  • @tjat55
    @tjat55 Жыл бұрын

    by following you I learn to code and understand English. Thank you very much.

  • @lepre4720
    @lepre47204 ай бұрын

    Loved the video and fleshed out the bare basics for me.

  • @this.channel
    @this.channel Жыл бұрын

    Awesome timing. I was just about to learn Laravel.

  • @longnguyenthanh1477
    @longnguyenthanh14779 ай бұрын

    Thanks you so much for your simple video. It gives me the overview about CRUD in Laravel quickly.

  • @knightonnata
    @knightonnata9 ай бұрын

    Thank you for sharing this! Your Tutorial is easy to understand for me.

  • @pavelpronin6408
    @pavelpronin64086 ай бұрын

    Simple thank you so much, when you can explain simply it's a sign of a pro

  • @louitdev5540
    @louitdev55408 күн бұрын

    Thank you so much for making this tutorial. I learned everything perfectly, unlike in my classes. 😃

  • @l1keeN
    @l1keeN11 ай бұрын

    Omg, great tutorial! So hard for a beginner things in such easy presentation

  • @CamiloSanchez1979
    @CamiloSanchez19798 ай бұрын

    Excellent tutorial, I love that you went right for it in one video. Subbed!

  • @myam754
    @myam7542 ай бұрын

    Thank you so much for sharing this tutorial! Subscribed!

  • @patrickchieni7039
    @patrickchieni7039Ай бұрын

    Great tutorial.. with it i also came to find about xcrud - laravel and now making app is as easy as abc

  • @htpkey
    @htpkey Жыл бұрын

    Thank you so much for this! I've tried getting into Laravel since version 7, but most tutorials that I found were very convoluted or poorly explained. I revisited Laravel after a couple years and came across your tutorial. This tutorial does so many things right when introducing the basics! Keep up the amazing work!

  • @fandinurrokhim2615
    @fandinurrokhim2615 Жыл бұрын

    thank you so much, very easy to understand, I'm struggle learning Laravel before know this video

  • @growllcraft6932
    @growllcraft69323 ай бұрын

    Easy to understand tutorial, you got yourself a new subscriber :D

  • @wolfterritoriesgrid
    @wolfterritoriesgrid11 ай бұрын

    This is a BRILLIANT video. thank you

  • @slweb621
    @slweb621 Жыл бұрын

    This is one of the best videos I have learned about Laravel, can you give us more advanced Laravel lessons?

  • @johnforeverrules
    @johnforeverrules Жыл бұрын

    first time viewer here. i was really amazed by your teaching skills. i am sure that this video will build a strong foundation for learning laravel for me and countless others. i wish you all the success in life. God bless

  • @AidanHomewood
    @AidanHomewood10 ай бұрын

    This was fantastic! Thank you.

  • @jonathanjohnson2785
    @jonathanjohnson278513 күн бұрын

    Thanks so much Brad. Learnt a lot ❤

  • @systemforge
    @systemforge9 ай бұрын

    omg! whhhatt an amazing video... First time coming to php world, and boy u literally set it on fire - thankyou so much for this fantastic session!!!

  • @user-cq5td6fs7u
    @user-cq5td6fs7u11 ай бұрын

    this video really helped to understand the basics. and yes, it is simpler then others also then php

  • @learningtocode0
    @learningtocode021 күн бұрын

    very great tutorial to start Laravel. thanks

  • @ricksancheeez
    @ricksancheeez6 ай бұрын

    thanks a ton for this fabulous course!!

  • @tong5364
    @tong5364 Жыл бұрын

    A very nice video!!!! This really helps me a lot to understand Laravel. Thankyou so much!

  • @azm00
    @azm00Ай бұрын

    An awesome and informational knowledge especially for beginners in Laravel like me. Great video. ❤❤❤

  • @mdazhardware
    @mdazhardware Жыл бұрын

    Thanks for this amazing tutorial.

  • @DGCastell
    @DGCastell Жыл бұрын

    Neat way of explaining it! I've had experience with CodeIgniter before so it made sense quicker but even if I hadn't it is really easy to follow!

  • @mounir101
    @mounir101 Жыл бұрын

    Thanks so much for this amazing tut bro. I really like it and all your tuts aswell. Kind regards.

  • @TheIgzyy
    @TheIgzyy5 ай бұрын

    Thank you, this is a great course!

  • @juansebastian8647
    @juansebastian864711 ай бұрын

    Thanks for the video, I've learned a lot .

  • @denvergomez7069
    @denvergomez70699 ай бұрын

    You are a great teacher! keep it up bro

  • @ryrymin07
    @ryrymin07 Жыл бұрын

    this is the best course! I love it!

  • @vyshakkriss7765
    @vyshakkriss7765 Жыл бұрын

    Laravel is 🔥🔥🔥, so cool! So easy to implement a lot of things. Will start coding websites in Laravel.

  • @abdelhamid4136
    @abdelhamid41366 ай бұрын

    Amazing video brother, if you are a developper and looking to get familiar with the concept of the video this is the one +1 sub

  • @ort.school
    @ort.school23 күн бұрын

    awesome tutorial !!!

  • @rahule3829
    @rahule382910 ай бұрын

    Thank you I've learned new things from this video and I loved it Thank you again

  • @wallenbergarna
    @wallenbergarna Жыл бұрын

    Thanks, great video!

  • @mariliasl
    @mariliasl2 ай бұрын

    Hi Brad, I got an intership using this blog tutorial (a very similar, but even simpler hahaha), thank you so much! Now to start the job I'm doing your complete laravel course on udemy, your teaching is wonderful. Hugs from Brazil

  • @mbguantay
    @mbguantay6 ай бұрын

    Thank you very much, it was very helpful!

  • @nielsofficeofficial9706
    @nielsofficeofficial970610 ай бұрын

    You always save my day Sir. Thanks a lot : )))

  • @siphamandlambokazi331
    @siphamandlambokazi331 Жыл бұрын

    Thanks man, I think you also taught me my first programming language, C++. We should focus on each part to dig more now, like going in depth with the author() method, validate method and relationships. Would you please teach us laravel relationships like hasmany and more?

  • @Viezieg
    @Viezieg Жыл бұрын

    pretty cool tutorial ! thx !

  • @jprlightbearer1311
    @jprlightbearer13114 ай бұрын

    Thank you, Sir

  • @WallyJ2K
    @WallyJ2K8 ай бұрын

    Great tutorial! This could have also been done with Breeze for authentication/creation of users, and then added onto, which would have been a little cleaner, but I love your stuff!

  • @timeforrice
    @timeforrice Жыл бұрын

    Great content!!

  • @turitrighia77
    @turitrighia7711 ай бұрын

    it works thank you!

  • @bartatube2917
    @bartatube291710 ай бұрын

    what a fantastic tutorial

  • @mdony722
    @mdony7227 ай бұрын

    Super Tutorial , have nothing but priases

  • @eric_lan
    @eric_lan2 ай бұрын

    Great video👍. It's nice go through as a Laravel starter. It might be great to briefly introduce how the error handling works(It currently has form submission, rules etc. but it doesn't mention how it handles error message), and I believe it will be interesting.

  • @Hyp3r8Sniper
    @Hyp3r8Sniper Жыл бұрын

    Awesome succinct explanation. You didn't lose me once and you can bet I'll be paying for the course. Cheers

  • @MightyKingKala
    @MightyKingKala Жыл бұрын

    Amazing Video thanks

  • @abdulkadirmhassan346
    @abdulkadirmhassan34611 ай бұрын

    Nice hack. It's working for me. Thank you for sharing this tutorial

  • @pierrebertram5555
    @pierrebertram555511 ай бұрын

    Great! Thanks!

  • @dixie-he5do
    @dixie-he5do Жыл бұрын

    thanks brad !

  • @anselmdike2817
    @anselmdike28179 ай бұрын

    Anyone looking to learn Laravel .. I promise you.. you're in the right place . The instructor is the best thing that ever happened to programming ... He is the bomb

  • @sai_charan
    @sai_charan Жыл бұрын

    Thank you!

  • @yohanlopes1847
    @yohanlopes1847 Жыл бұрын

    Thank you, just thank you

  • @HaiderAli-hw8sn
    @HaiderAli-hw8sn7 ай бұрын

    Thank You

  • @Mattiasa1337
    @Mattiasa1337 Жыл бұрын

    Bro, u are a god

  • @user-mv2ti9jd3n
    @user-mv2ti9jd3n6 ай бұрын

    Well done

  • @moomoo3578
    @moomoo3578 Жыл бұрын

    This is so good. Thank you so much. Do you have any NodeJS tutorials or course?

  • @gituncar27
    @gituncar27 Жыл бұрын

    Thanks so much

  • @silvanageorgioska9717
    @silvanageorgioska9717 Жыл бұрын

    super!!!

  • @rayamand7851
    @rayamand7851 Жыл бұрын

    That's a greet video

  • @CharcoalDaddyBBQ
    @CharcoalDaddyBBQ Жыл бұрын

    Great video! Does Laravel have the login stuff pre built or do I have to build it myself?

  • @RodrigoMendoza7
    @RodrigoMendoza76 ай бұрын

    2:44 I wasn't sure if that was my cat or Brad's 😹

  • @yeonghunlee1049
    @yeonghunlee1049 Жыл бұрын

    Hi, I’m currently doing your Html+Css course and Workflow course, Brad. I have a question for you. If I want to get into the tech field fast, what path or paths will you recommend to a Beginner-Intermediate? I am interested in Wordpress Development, Laravel Development, React Development, and MERN full stack, as I will like to use your udemy courses as main education (and of course self hands-on projects too) sources because your courses are best for me. Thanks!