Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Laravel PHP Framework Tutorial - Full Course for Beginners

via freeCodeCamp

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Embark on a comprehensive 4-5 hour tutorial course designed for beginners to master Laravel 5.8, a powerful PHP web framework, by building an Instagram clone from scratch. Dive into essential concepts such as setting up Laravel, working with databases, designing user interfaces, implementing authentication flows, and creating RESTful controllers. Explore advanced topics including Eloquent relationships, image manipulation, authorization policies, and Vue.js components for dynamic user interactions. Learn to optimize performance through pagination, caching, and solving N+1 query problems. By the end of this hands-on course, gain practical experience in developing full-featured web applications using Laravel, preparing you for real-world projects and further exploration of the framework's capabilities.

Syllabus

Introduction.
What is Laravel?.
Installing Laravel.
First look at the project.
Intro to php artisan.
Generating login flow with make:auth.
Setting Up the Front End with Node and NPM.
Migrations and Setting Up SQLite.
Designing the UI from Instagram.
Adding Username to the Registration Flow.
Creating the Profiles Controller.
RESTful Resource Controller.
Passing Data to the View.
Adding the Profiles Mode, Migration and Table.
Adding Eloquent Relationships.
Fetching the Record From The Database.
Adding Posts to the Database & Many To Many Relationship.
Creating Through a Relationship.
Uploading/Saving the Image to the Project.
Resizing Images with Intervention Image PHP Library.
Route Model Binding.
Editing the Profile.
Restricting/Authorizing Actions with a Model Policy.
Editing the Profile Image.
Automatically Creating A Profile Using Model Events.
Default Profile Image.
Follow/Unfollow Profiles Using a Vue.js Component.
Many To Many Relationship.
Calculating Followers Count and Following Count.
Laravel Telescope.
Showing Posts from Profiles The User Is Following.
Pagination with Eloquent.
N + 1 Problem & Solution.
Make Use of Cache for Expensive Query.
Sending Emails to New Registered Users.
Wrapping Up.
Closing Remarks & What's Next In your Learning.

Taught by

freeCodeCamp.org

Reviews

4.8 rating, based on 46 Class Central reviews

Start your review of Laravel PHP Framework Tutorial - Full Course for Beginners

  • The Laravel PHP Framework Tutorial - Full Course for Beginners by freeCodeCamp is a fantastic resource for anyone starting out with Laravel. It offers a clear, structured introduction to the basics, including routing, controllers, models, migrations, and Blade templating. The pacing is ideal for beginners, with practical examples and hands-on coding that reinforce the concepts. By the end, you’ll have built a basic Laravel project and understood the MVC pattern in action. Highly recommended for those looking to start Laravel with zero prior experience!
  • 🌟 Incredible Learning Journey! Highly Recommended! 🌟

    I can't praise this "Laravel PHP Framework Tutorial" enough! As a beginner in web development, this course has been an absolute game-changer for me. The instructor's approach to teaching is crystal clear, making complex concepts like MVC architecture and routing feel like a breeze.
  • I recently completed a Laravel course and found it very valuable. The instructor explained core concepts like routing, middleware, Eloquent ORM, and Blade templates in a clear and structured way. Hands-on projects helped me understand real-world application development, from database migrations to authentication and API building.

    The pace was comfortable for both beginners and those with some PHP experience. I especially appreciated the emphasis on best practices and modern Laravel features. A few sections could include more advanced examples, but overall it gave me the confidence to build full-stack applications on my own
  • Perfect course for PHP Developers. I am very happy to complete this course as a laravel developer and I want everyone should learn this laravel course.
  • Profile image for Henintsoa RAKOTOARIMANANA
    Henintsoa RAKOTOARIMANANA
    I recently completed the 'Laravel PHP Framework Tutorial - Full Course for Beginners' on freeCodeCamp, and it is easily one of the best entry points for anyone looking to transition from pure PHP to a modern framework. What I appreciated most was t…
  • Profile image for Ameralim João Namburete
    Ameralim João Namburete
    This is an excellent introduction to Laravel, especially for those who already have a basic understanding of PHP and want to understand in practice how the MVC structure, routes, controllers, Eloquent ORM, and the construction of a complete CRUD application work. The teaching method is clear, the content is well organized, and the aspect of developing a real project during the course greatly facilitates learning, making it a great foundation for anyone who wants to start web development with Laravel in a solid and structured way.
  • good for the knowlegde. but the english voice is difficult to understand. i want the indian english.
    i want certificate for completation the course.

    thank you
  • Profile image for Rafa Rizky Pratama
    Rafa Rizky Pratama

    This course is very helpful for beginners who want to learn Laravel from scratch. The explanations are clear, structured, and easy to follow. I like how the instructor explains basic concepts before moving to more advanced topics. The examples are practical and useful for real projects. Highly recommended for anyone starting with Laravel.
  • I found this lesson to be incredibly insightful and well-structured. The content was presented clearly and concisely, making complex topics easier to understand. The examples provided were relevant and helped in grasping the concepts effectively. Overall, it was an engaging and informative experience that enhanced my understanding significantly. Great job!

  • Profile image for Kevin Tjoanda
    Kevin Tjoanda
    This course is very helpful for understanding Laravel from the basics to more advanced concepts. The explanations are well-structured, clear, and easy to follow for beginners. The practical examples provided are relevant to modern web development needs. Highly recommended for anyone who wants to start learning Laravel seriously.
  • Its using older version. Though useful for anyone who wants topic wise knowledge, because basic architecture still remains the same, if you are not diving at kernel level, because that has recently changed. File structure differs slightly from curre…
  • Profile image for Muhammad Faisyal
    Muhammad Faisyal
    “Laravel PHP Framework Tutorial – Full Course for Beginners” is an excellent course for beginners who want to enter the world of modern web development using Laravel. The material is well-structured, starting from installation, basic MVC concepts, routing, controllers, Blade templates, up to complete CRUD operations. The explanations are delivered in simple language and supported with real examples, making them easy to understand.
  • Profile image for John Karanja
    John Karanja
    it was a great learning experience. At first, Laravel felt overwhelming, but the way the course explained things step by step made it much easier to follow. I learned how to set up routes, controllers, Blade templates, and even work with databases using migrations and models. What I liked most was that everything was taught in a very practical way, so I could actually build along as I learned.

    By the end of the course, I feel much more confident working with Laravel. I can now create a basic web application from scratch and understand how the framework fits together. For a beginner, this course is definitely worth it.
  • Great Teaching covered most topics. Very good course for beginners. This course will be recommended to everyone. Thank you so much !
  • Profile image for Bassir El Houssein
    Bassir El Houssein
    1
    Title: An Exceptional Learning Experience: A Review of the Course I recently had the privilege of taking [Course Name], and I must say it was an absolutely incredible learning experience. From start to finish, the course exceeded my expectations in…
  • Profile image for Mohamad Saiful Anwar
    Mohamad Saiful Anwar
    1
    I recently had the pleasure of taking the free Laravel course, and I must say, it exceeded my expectations in every way. This course serves as an excellent introduction to the world of Laravel, and I highly recommend it to anyone looking to dive int…
  • The course is wonderful, and easy to understand but needs to be updated to the latest Laravel version
  • The course is very great!! Easy to understand!!

    Thanks for all the knowledge you have shared with us.
  • Profile image for Dushantha Majith
    Dushantha Majith
    The Laravel PHP Framework Tutorial - Full Course for Beginners from freeCodeCamp is an excellent resource for anyone starting with Laravel. The instructor explains concepts clearly, provides practical examples, and covers essential topics like routing, migrations, Eloquent ORM, and Blade templating. The step-by-step approach makes it easy to follow, even for complete beginners. The course is well-structured, engaging, and perfect for building a strong foundation in Laravel. Highly recommended for aspiring PHP/Laravel developers!
  • Profile image for Akmal Bintang
    Akmal Bintang
    This basic Laravel class was an excellent introduction to the framework! It thoroughly covered the fundamentals, from setting up a project to understanding MVC architecture. The instructor clearly explained core concepts like routing, controllers, views, and basic database interactions. I found the hands-on exercises particularly helpful for solidifying my understanding. Highly recommend for anyone new to Laravel or web development looking for a solid foundation.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.