Laravel 11 Tutorial for Beginners - Laravel Crash Course (2024)

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • This video is the perfect starting point if you want to get started with Laravel 11. In this crash course we will learn the most fundamental topics in Laravel and create basic application with registration and login.
    🚀 Get 3 months of Hosting FOR FREE + FREE domain. Check hostinger.com/zuratc. Use coupon code "ZURATC" for an EXTRA 10% OFF 🚀
    🎬 • How to Deploy Laravel ...
    🎬 • Deploy Laravel on VPS ...
    🎬 • Laravel Hosting with G...
    ⭐ Project Repository: bit.ly/3T7tDjD
    🔔 Subscribe: bit.ly/2xTQOI0
    If you really love my content and want to support the channel:
    🛒Check my Website: thecodeholic.com
    🌟 Become a Patron: / thecodeholic
    🍺 Buy me Beer: www.buymeacoffee.com/thecodeh...
    Time Codes
    -------------------------------
    00:00:00 - Introduction
    00:01:48 - Setup Working Environment
    00:03:53 - Project Setup
    00:07:27 - Directory Structure
    00:12:32 - Introduction to Artisan
    00:13:33 - Laravel 11 Configuration
    00:15:56 - Create Basic Route and Controller
    00:19:09 - Generate Models and Migrations
    00:21:57 - Generate Factory and Create Seed Data
    00:24:25 - Generate Resource Controller
    00:27:21 - Generate Resource Routes
    00:31:35 - Create Blade Files for CRUD
    00:34:08 - Generate Layout
    00:37:42 - Render Notes
    00:46:11 - Include CSS and JS Files
    00:50:30 - Define Views
    00:54:15 - Note Create
    00:58:52 - Note Update
    01:01:03 - Note Delete
    01:03:07 - Implement Pagination
    01:04:36 - Add Registration and Login
    01:14:46 - Filter Notes by Authenticated User
    01:17:56 - Adjust Navigation Links
    01:20:50 - Customize Forbidden View
    01:21:46 - Conclusion
    🖱️Follow me on social media:🖱️
    x.com/thecodeholic
    / thecodeholic
    / thecodeholic

Komentáře • 265

  • @TheCodeholic
    @TheCodeholic  Před 4 měsíci +17

    I have dedicated videos that show full flow of how you can deploy your Laravel projects on production environment. I have been personally using Hostinger for last 3 years.
    Get 3 months of Hosting FOR FREE plus FREE domain. Check hostinger.com/zuratc. Use coupon code "ZURATC" for an EXTRA 10% OFF

  • @MulatfSayani
    @MulatfSayani Před 4 měsíci +27

    I'm working on my Laravel graduation project. Thanks sir ❤

  • @seabataseutloali4108
    @seabataseutloali4108 Před 4 měsíci +8

    I love how you explained everything to a thorough detail within assuming anyone has some kind of prior experience here , keep up great work, 💪🏽💪🏽💪🏽💪🏽💯💯💯💯 to the top

  • @ahmad-murery
    @ahmad-murery Před 4 měsíci +21

    That was a nice course,
    Laravel 11 looks more cleaner than before,
    BTW, I still remember your *Building PHP MVC Framework from Scratch* which still a very good intro to MVC in my opinion.
    Thanks Zura!

  • @InsaneMetalSoldier
    @InsaneMetalSoldier Před 2 měsíci +7

    Thanks man! needed to quickly catch up with laravel after not using it for yearss!!

  • @nadetdevfullstack7041
    @nadetdevfullstack7041 Před 4 měsíci +9

    Very best beginner's tutorial ! Thanks you!

  • @ivangerginov5648
    @ivangerginov5648 Před 4 měsíci +5

    Thank you so much! I'll start following right away.
    Your tutorials are the best. Will share it in my server so more people can watch

  • @domi564
    @domi564 Před 27 dny +3

    Great course, easy to follow along and understood a lot of the basic Laravel concepts such as Factories, Models, and so on. Thank you so much!

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

    literally perfect !! thanks a lot

  • @shenaan
    @shenaan Před 2 měsíci +1

    This is a super super helpful introductory video! Thank you for putting this together and sharing!

  • @TalhaxD.
    @TalhaxD. Před 2 měsíci +5

    Worth watching A good start for beginners. Wish me best I’m going for advance level❤

  • @expertrobotpro
    @expertrobotpro Před 3 měsíci +1

    Love this kind of teacher Thank you so much sir for your time I never seen clear video before like this again keep post video please.

  • @johnmabona7786
    @johnmabona7786 Před 3 měsíci

    i am still new to laravel Dev but im loving your content. thank you so much 🙏

  • @Horse-tradeEu
    @Horse-tradeEu Před 13 dny +1

    Thank you man. Very well put together tutorial with the right pace. In an hour you understand some basic laravel mechanisms. Looking forward to more advanced stuff.

  • @ramina2121
    @ramina2121 Před 4 měsíci

    კარგი ვიდეო და ხარისხიც კარგია წარმატებები.

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

    Amazing laravel quickstart tutorial. Amazing

  • @stephenredding31
    @stephenredding31 Před 2 měsíci +1

    awesome job on this! ty!

  • @fredricmadrona3759
    @fredricmadrona3759 Před 3 měsíci +1

    Thanks yout for this sir, and more power to you!

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

    I do not know why your explanation is such a crystal clear. Thanks

  • @CloudWithUgur
    @CloudWithUgur Před 15 dny

    just the one I needed. thank you man !

  • @flexa-1tv
    @flexa-1tv Před 3 měsíci +3

    Thank you! It is very important for me to upgrade my project.

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

      Просто удивительно видеть, как работает эта связка - она превзошла все мои ожидания.

  • @anmasa
    @anmasa Před 4 měsíci

    Thank you very much, the tutorial was very good, very well explained and you made it simple, very good work, greetings.

  • @mouradeljayi584
    @mouradeljayi584 Před 4 měsíci +5

    Thank You Zura for your efforts.. We really appreciate all the content you provide around Laravel and its ecosystem. Please keep teaching us and God bless You.
    Greetings From Morocco.

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

      Thank you buddy for such a nice words.

  • @alternateLbs
    @alternateLbs Před 2 měsíci +1

    This one is so clean!

  • @iqbalpahlevia
    @iqbalpahlevia Před 3 dny +1

    i haven't learnt php at all. i just jump into this tutorial to learn laravel. it is very comprehensive and easy to follow. thank you sir! 🫡

  • @EugeneVoznesensky
    @EugeneVoznesensky Před 2 měsíci

    Hello! Great video. Much appreciated.
    On around 24:00 for PHP8.3 should be `Note::factory()->count(100)->create();`

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

    Great content and information thank you

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

    thank you, Zura!!!

  • @emadesavi8015
    @emadesavi8015 Před 3 měsíci +1

    Thanks a lot man you are the best❤

  • @khalidtubail
    @khalidtubail Před 3 měsíci

    Very nice and rich tutorials, I learned a lot from you, thanks, and I hope to see more advanced tutorials.

  • @bilalbeny4172
    @bilalbeny4172 Před 4 měsíci

    Thank you so much for this amazing beginners Laravel Course, I hope you do more videos about Laravel, and I hope also to do part 2 for this course 😍😍

  • @moukkarhamza2404
    @moukkarhamza2404 Před 3 dny

    3:55 and I looooved the course// still watching thanks a lot

  • @umwizerwagedeon6086
    @umwizerwagedeon6086 Před 4 měsíci

    Great work thank you so much for awesome video

  • @bulentkaratas7253
    @bulentkaratas7253 Před 4 měsíci +2

    Thank You Zura. 👍

  • @lwiimbokasweshi
    @lwiimbokasweshi Před 16 dny

    Amazing tutorial. Thank you very much.

  • @HarryEdwards-zk6ok
    @HarryEdwards-zk6ok Před měsícem +2

    You're a very good teacher. I am really thankful to you. I was making a Realtime Chat application with PHP. But Laravel makes it much easier. Actually, you deserve a million subscribers. Thank you for this course. 🤩😍🤩🤩

  • @rise-radiant
    @rise-radiant Před 3 měsíci +1

    Thank you!

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

    Excellent and very useful.Thank you.

  • @user-il3xq3df5u
    @user-il3xq3df5u Před 4 měsíci +1

    Thanks for the tutorial, just finished it, much appreciated. It was very useful for me as a beginner

  • @RodrigoAugustin
    @RodrigoAugustin Před 23 dny +1

    Nice course. Thanks.

  • @user-ef8zn5jh8d
    @user-ef8zn5jh8d Před 4 měsíci

    Thank you zura, this really helped me 🔥🔥🔥

  • @ShakeelAhmed-jk7cn
    @ShakeelAhmed-jk7cn Před 4 měsíci

    Amazing, Great, Learn many things, Thank you so much, kindly also shoot a video on Policy, Gate etc.. instead using if else,

  • @yoganaidu
    @yoganaidu Před 2 měsíci +1

    Nice explanation, Thank you @TheCodeholic👍

  • @minimarythm8085
    @minimarythm8085 Před 2 měsíci

    Thank you so much for amazing tutorial. I had the exactly same behavior at 1:16:16. I had to click "Submit" button twice to direct to next page. so i guess it was due to something else instead of double clicking it.

  • @AbdallaAhmed77
    @AbdallaAhmed77 Před 3 měsíci

    great way of explanation thanks and keep going
    🥰🥰🥰

  • @udayan285
    @udayan285 Před 4 měsíci

    thanks , It's very helpful and important content I see here which is that time need to me. Take love from Bangladesh.

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

    thanks , its a good start for basic intro to laravel only thing is to recreate the whole notes with no guide and possible start with breeze and inject the notes parts

  • @roripocket6273
    @roripocket6273 Před 4 měsíci

    Excellent, thanks

  • @techatival
    @techatival Před 8 dny

    Thank you Zura!

  • @user-nx3iz1ju5b
    @user-nx3iz1ju5b Před 3 měsíci +1

    I really love this

  • @arori112
    @arori112 Před 4 měsíci

    Nice! A Big big thanks :)

  • @aliebi13
    @aliebi13 Před 3 měsíci +1

    it was useful thanks

  • @JoyaMosher
    @JoyaMosher Před měsícem +2

    Thank you for going through all of your prior installed extensions so that our views look the same! Its not commonly done in tutorials and it can become very confusing when my screen looks different. I appreciate this extra attention to detail!

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

      Nice to hear that. Thanks

    • @sambitpati6129
      @sambitpati6129 Před 16 dny

      @@TheCodeholic which database are using before migrate, ex- mysql because i don't see any database config before migration start...... please respond , i need to know how things connected to db which db

  • @SamuelCordobaHenao
    @SamuelCordobaHenao Před 4 měsíci

    bro thx much u save my live :3, i hope ansious ur new videos aswell

  • @user-rj1eu6kp3u
    @user-rj1eu6kp3u Před 3 měsíci

    that was a really nice course. thank you very much for it. i'm looking forward into learning laravel ;)
    i already tried a couple of months ago but to be honest i got bored immediately. it was amazing, don't get me wrong, but there was too much abstraction and it was confusing but after this course i decided to give it another try and learn it in depth, maybe it will also help me with my work since it's a nightmake doing all the things you shown in the video in basic php, especially User Auth

  • @NkenMandengAngeArsene-iq6yn
    @NkenMandengAngeArsene-iq6yn Před 2 měsíci

    Thanks the code holic once more your a genuis

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

    Best laravel channel in u tube

  • @___Kevin
    @___Kevin Před 24 dny

    Very helpful !

  • @muyassarabdullah1504
    @muyassarabdullah1504 Před 3 měsíci

    The best tutorial video on laravel beginner

  • @MrSrdjanStojkovic
    @MrSrdjanStojkovic Před 4 měsíci

    Tnx bro. This is great 👍👍👍

  • @MewtwoStar
    @MewtwoStar Před 3 měsíci +1

    Best video sir
    thanks a lot
    ❤❤❤❤

  • @W3CodePad
    @W3CodePad Před dnem

    great tutorial Thanks

  • @Tuktuk_Academy
    @Tuktuk_Academy Před 4 měsíci

    Congratulations Sir You Got a new Subscriber 😍😍

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

    Perfect

  • @matt_acerph
    @matt_acerph Před měsícem +1

    Thanks Sir for video:)

  • @Tuktuk_Academy
    @Tuktuk_Academy Před 4 měsíci

    i just short of words its simply amazing so much to take from this video thank you so much for your efforts ❤🙏
    Sir it would be very useful if you could make a saperate video on middleware or authentication . if u can

  • @IamPrinceObinna
    @IamPrinceObinna Před 4 měsíci

    AWESOME 🎉🎉🎉

  • @virenkhokhar6305
    @virenkhokhar6305 Před 4 měsíci

    Thank u sir. Video was good .

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

    Great work Thanks for this. Am new to Laravel but am already feeling at home

  • @HarryEdwards-zk6ok
    @HarryEdwards-zk6ok Před 8 dny

    Again thank you to this amazing person. This is the stuff which I needed. 🥰🥰😍😍

  • @user-bg6gb5nu3r
    @user-bg6gb5nu3r Před 4 měsíci

    Thank you sir for your effort

  • @venmiguel9851
    @venmiguel9851 Před 3 měsíci +1

    God Sent person thank you sir!

  • @abbasmohamedwalaal5753
    @abbasmohamedwalaal5753 Před 4 měsíci

    Thank you so much bro . This is very usefull. Please make the upcoming course afordable like $10 or $12

  • @RyuBateson218
    @RyuBateson218 Před 4 měsíci

    Thanks!!

  • @goljarhossenn
    @goljarhossenn Před 4 měsíci

    thanks a lot

  • @SethSetiadha
    @SethSetiadha Před 4 měsíci

    do you have video set up laravel with starter kit but using bootstrap instead of tailwindcss?

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

    Ohh thanks alot, just waiting for it with react js

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

      The next videos will contain react as well.

  • @lasarkolja9692
    @lasarkolja9692 Před 3 měsíci +1

    Thanks a lot for this detailed tutorial.I really love the clear and straightforward structure.
    So I can jump to a chapter, which is interesting for me and jump back, because I didn't understand something.
    However, and this is not a criticism, but a request, since I lack prior knowledge of OOP in general and Laravel in particular, the syntax is often not easy to understand.
    There are many tutorials that start almost from scratch and many that are for advanced users.
    Would you like to make a video in which you explain Laravel and / or Filament in detail for Laravel newbies with general programming experience?
    Best regards
    Kolja

  • @Maysaasayah
    @Maysaasayah Před 7 dny

    perfect

  • @ryanisthewind
    @ryanisthewind Před 2 měsíci

    Amazing video
    Thank you so much
    But can you explain why sometimes when we submit changes to the database happens but we don't see page redirected? I also experienced it.

  • @user-if8ub3vd9g
    @user-if8ub3vd9g Před 3 měsíci

    Hello zura, thank for the project.Any plans of having SAAS application like Point Of Sale (POS) for different tenants(customers) implemented in react js frontend, laravel backend without ineria as companies prefer seperation of frontend and backend plus some roles and permssions and redux toolkit. I think its the only project missing on this channel

  • @0xDEAFBEEF
    @0xDEAFBEEF Před měsícem +1

    One takaway i got is that It's important to note that when naming routes, it is useful to keep your code consise and easy to read. Instead of hardcoding stuff like ..., we can instead use .... This gives our code another layer of abstraction that would make readability improve

    • @TheCodeholic
      @TheCodeholic  Před měsícem +1

      That's correct but I hope that is not the only takeaway from this crash course..

    • @0xDEAFBEEF
      @0xDEAFBEEF Před měsícem

      @@TheCodeholic yep, its not the only takeaway, I already listed some, but I'm still watching the course bit by bit so I expect to get more. Thanks for making this course, it is very informative!
      And also, thanks for the repo, great for future references if I, or someone, needs a quick refresher.
      Cheers friend!~~
      (PS. I needed this for my internship 😁)

    • @TheCodeholic
      @TheCodeholic  Před měsícem +1

      Good luck on your internship

  • @ay-vo3qy
    @ay-vo3qy Před 3 měsíci

    hey great tutorial . can i access the database that we're working with .

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

    u are the true savior

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

    I have two identical forms, one on landing and one on the app dashboard. how to define it in the controller at function create? Thank you, I hope you are always healthy bro🙏

  • @ProUpdate.
    @ProUpdate. Před 2 měsíci

    that is wath i have looking for

  • @conditionafteruse
    @conditionafteruse Před 3 měsíci +1

    Hoping for an advanced level Crash Course Soon.😍😍😍

  • @OhmVibe
    @OhmVibe Před měsícem +1

    Great tutorial! I'm very impressed with how the PHP ecosystem has evolved over the years. I used it a little about nearly 10 years ago when I was first learning how to code, but have been primarily a full-stack JS dev since. Looks so much more elegant than Node and its frameworks.

    • @TheCodeholic
      @TheCodeholic  Před měsícem +1

      I agree. People hate PHP that existed 10 years ago. I think I hate that PHP as well. But modern PHP with modern frameworks is something to love.

  • @havecodesoft
    @havecodesoft Před 4 měsíci

    Your tutorials have been an absolute game-changer for me. I've successfully converted my code to seamlessly integrate React with Laravel using Inertia.js, and even ventured into building APIs. Your project videos have been my guiding light, especially as I transitioned into backend development.
    Coming from a React background, I've always wondered how to bridge the gap between frontend and backend development. Thanks to your clear explanations and practical examples, I now have a solid understanding of how to harness the power of both technologies.
    Learning backend development has been a joy, largely because of your invaluable resources and insights. Your dedication to sharing knowledge and empowering developers like myself is truly commendable.
    Keep up the fantastic work, and know that your efforts are deeply appreciated by aspiring developers like myself.

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

      This is by far the most motivating comment I received this year. Thanks a lot for your words.

  • @wormy_coder
    @wormy_coder Před 4 měsíci +5

    I will recommend this channel to my colleague

  • @kinginglight
    @kinginglight Před 4 měsíci

    Thank you

  • @clevercbt5344
    @clevercbt5344 Před 3 měsíci

    Thank you for the tutorial, can you please also make tutorial Laravel as API

  • @yacobee
    @yacobee Před 4 měsíci

    Thank you. If possible, make a video for Laravel 10 users on new features and different sides.

    • @TheCodeholic
      @TheCodeholic  Před 4 měsíci

      There are already multiple videos on that topic on CZcams. Just search on YiuTube "Laravel 11 features" or "Laravel 11 changes"

  • @gamealt9773
    @gamealt9773 Před 3 měsíci

    sir please make video of nextjs + laravel and deploy in shared hosting please

  • @fadye3050
    @fadye3050 Před 2 měsíci

    thank you and we need middleware

  • @chun-chenwang8246
    @chun-chenwang8246 Před 25 dny

    thank you, i have one question though.
    from 1:04:42, after installing breeze package and modifying the web.php, it shows error like' Symfony\Component\Routing\Exception\RouteNotFoundException
    Route [login] not defined.'
    and i don't how to fix this.

  • @AnthonyOjei-fo6sq
    @AnthonyOjei-fo6sq Před 3 měsíci

    Please sir how to one use image intervention version three for uploading

  • @onelook1870
    @onelook1870 Před 4 měsíci

    For you beginner course can you dive a more in database designing

  • @0xDEAFBEEF
    @0xDEAFBEEF Před měsícem

    In 59:46, wheredid the create ( Note::create($data) ) method came from? It sure is not present in the App\Models\Note. I'm perplexed because it works but I can't find a reference to that create method. (Edit: Turns out it came from the Model class of laravel, since Note extends it, it then has the create.)

  • @alrazy12
    @alrazy12 Před 27 dny

    hi, sir why is there no gist link in GitHub for the code snippets you copy-paste while teaching how we will follow up?