Sorry, this page is no longer available
We may earn an affiliate commission when you visit our partners.
Course image
Piotr Jura | 62,000+ Students

Laravel has become the go-to framework for PHP developers, known for its elegance, performance, and powerful toolset. As PHP continues to evolve, Laravel is at the forefront, making web development more accessible and enjoyable than ever.

In this course, I'll guide you through everything you need to know about Laravel - from setup to advanced features. We'll build 5 real-world projects that will solidify your understanding and prepare you for professional Laravel development.

What You'll Learn:

Read more

Laravel has become the go-to framework for PHP developers, known for its elegance, performance, and powerful toolset. As PHP continues to evolve, Laravel is at the forefront, making web development more accessible and enjoyable than ever.

In this course, I'll guide you through everything you need to know about Laravel - from setup to advanced features. We'll build 5 real-world projects that will solidify your understanding and prepare you for professional Laravel development.

What You'll Learn:

  1. Task List Application

    • Basic routing and controllers

    • Blade templating

    • Database interactions with Eloquent ORM

    • CRUD operations

    • Form validation

    • Session handling

  2. Book Reviews System

    • Relationships in Eloquent (One-to-Many)

    • Advanced querying techniques

    • Caching for performance optimization

    • Custom Blade components

    • Rate limiting

  3. Events Management API

    • RESTful API development

    • API resources for response formatting

    • Authentication with Laravel Sanctum

    • Authorization using Gates and Policies

    • Task scheduling and queues

    • Notifications and email sending

  4. Livewire Poll Application

    • Real-time applications with Livewire

    • Component-based architecture

    • State management in Livewire

    • Event handling between components

  5. Job Board Portal

    • Advanced filtering and search functionality

    • File uploads and management

    • Soft deletes

    • Middleware for access control

    • Integration with Tailwind CSS and Alpine.js

  6. PHP Language

    1. Don't know PHP yet? No worries.

    2. Learn the basics, control structures, functions, data types

    3. Object-Oriented Programming including classes, interfaces, traits, polymorphism and more

Key Skills You'll Develop:

  • Laravel framework fundamentals and best practices

  • Database design and management with MySQL/SQLite

  • MVC architecture implementation

  • Authentication and authorization

  • API development and consumption

  • Front-end integration (Tailwind CSS, Alpine.js)

  • Performance optimization techniques

Whether you're new to Laravel or looking to deepen your expertise, this course offers a practical, hands-on approach to mastering one of the most powerful PHP frameworks available. By the end, you'll have the skills and confidence to build robust, scalable web applications with Laravel.

Enroll now

What's inside

Learning objectives

  • Laravel setup: learn how to setup and configure laravel.
  • Mvc architecture: understand laravel's mvc design pattern.
  • Routing: master laravel's critical routing system.
  • Blade templating: use laravel's blade for managing views.
  • Eloquent orm: explore database management with eloquent orm.
  • Database seeding: learn migrations and seeding in laravel.
  • Restful apis: develop apis handling json requests/responses.
  • Auth systems: build secure apps with laravel's auth systems.
  • Front-end integration: integrate laravel with front-end libraries.
  • Real-world apps: create five practical projects in laravel.

Syllabus

Introduction
Introduction, What You'll Learn and the Course Projects
See what you need to run Laravel with detailed instructions for all operating systems!
Read more

Let's see what are we gonna build and learn inside this section!

Routing guides user requests towards particular actions. You'll discover how to provide a response for any URL within your application.

Let's learn the basics of Blade templates.

Learn Blade directives like @if, @foreach, @forelse to render HTML conditionally and to work with lists.

Let's cleanup the code a little, implement the route that will fetch one task, implement the template and then create the layout template and learn about Blade template inheritance

Let's learn the easiest (yes!) way to run MySQL on any computer!

Let's understand how to connect to the database, how to test if the connections is working and let's understand how it's configured and what are the environment variables.

Understand the database abstraction in Laravel and how database schema changes are done using migrations.

Learn how to generate big sets of fake data and load it into the database

Let's talk about Eloquent Models - how to read data, learn the basics of query builder, and play around with a tool called Tinker.

Learn about view routes, rendering a form and CSRF attack and how to protect against it.

Learn how to validate the user input and then save it into the database.

Learn a little about sessions in Laravel/PHP, showing validation error messages & one-time flash messages.

Learn how to edit the data already in the database. Learn about method spoofing.

A quick video on how to keep the sent values in the form if the form submission fails, so the user does not have to retype everything from scratch (only the invalid values).

Learn how to use the power of Laravel to write less verbose code. Route model binding automatically loads models, mass assignment easily associates submitted data with models and form requests can be a common place for validation rules.

See how to delete records from the database, and how to do that properly and safely on the Blade side!

Learn how you can use the @include directive to create subviews, reusable Blade code chunks using forms as an example.

Learn how easy it is in Laravel to divide results into pages.

Let's add the missing links and then implement the Task completed/not completed toggling feature.

Learn how to set up Tailwind CSS super quickly using Play CDN. Learn what Tailwind is and add some initial styling. Learn how to add CSS classes conditionally.

Let's style the task page. Learn about the Tailwind @apply directive.

Style all the forms.

Style the flash message and learn how to use Alpine.js to make your page dynamic. Alpine.js is super simple and tiny. It's much easier to use than plain JavaScript with DOM.

Let's see the books review project we'll build next!

Create and set up the project, migrations and models.

Define the relationship between 2 models (tables) in both Database and in Laravel. Understand the Laravel conventions about making DB relations.

Learn how to generate more diverse data and how to generate and connect related models.

Learn all the ways to query related data - eager loading and lazy loading. See how to connect models together.

How to extend the query builder with your own methods, that encapsulate some query constraints.

Want to know how many reviews a book has, or what is the average rating? See how!

Create query scopes to sort books by amount of reviews and by the average rating!

I've got a lot of questions under the next video titled "Getting Books with Recent Reviews", so I wanted to clarify what this is video is about!

Learn how to use whereHas to query models based on their relationship.

It's time to learn what a controller is, and then immediately, why you should almost always try to use a resource controller!

Fetching books, adding layout and books template. A lot of code so it takes time!

Let's add the form that filters books by the title!

Let's make a tab to select if you want to see recent books, the highest rated or popular books. This is not as simple as it sounds!

Let's learn how to use the new match expression in PHP. Depending on the value of filter, we will run a specific query scope to filter books.

How to load relations for an already loaded model? When to use lazy loading or eager loading? How to sort the related model by any column? Let's see!

Learn what cache is, how to configure it, when to use it and what to watch out for using query cache as an example.

Cache stays valid for specified amount of time, sometimes though, you want it to invalidate faster, eg. when data changes. Learn how to do that!

We need to refactor the code so it's easy to get the review count and avg rating on any page, without side effects (like sorting by any of those)!

Learn the basics of components in Blade, and create our first one right away - a star rating component!

Let's learn about scoped resource controller, and then make a form for adding reviews!

Learn about rate limiting and how it can be applied through middleware.

We'll build a REST API this time!

Let's create and setup the new REST API project, incl. controllers, models etc.

We need a lot of data to work with, so let's seed the database.

Learn the basics of using Postman, the free and popular REST client that we'll use to manually test and interact with the API we are building.

See how to store data through API, how to validate it and learn a thing or two about HTTP.

Learn how to update and delete data through the API.

How to have full control over what data is being returned from API? Learn about API Resources.

Let's implement the attendee API controller and learn how to use pagination when returning JSON.

Learn how to control what data (relation) is being loaded by using a query parameter.

Let's make a universal trait that lets you load relations of any model or query in every controller by using PHP Traits.

Let's see how to load the Attendee relations.

Let's learn the basics of setting up user authentication, including password hashing, generating tokens using Laravel Sanctum.

Some routes are only for the logged-in users, see how to enforce that.

Copying and pasting the token while in Postman is a lot of work, see how we can automate that!

Let's see how to revoke user tokens and how to sign out.

Let's see how to make simple checks if the user is permitted to do an action on resource using Gates.

Policies allow authorization centered around a resource, let's learn about them.

See more ways on how to authorize with Policy classes, other than using authorizeResource.

Let's build an email reminder about the upcoming events feature, in this video you'll learn about custom artisan commands.

Learn how to schedule tasks to be run later.

How to use Notifications feature to notify users about events by sending an email.

Deferring time consuming tasks to be run in the background, making the UI more snappy.

The API needs throttling to protect your API from excessive usage and potential abuse.

Let's make a dynamic website without the use of JavaScript, by using a technology called Livewire!

Create the Laravel project, set up Livewire.

We need database models & migrations to get started, let's implement all that in this video.

Let's see how can you make a dynamic page without JavaScript by building your first Livewire component.

You will understand how Livewire even works.

How to perform dynamic operations in Livewire.

Let's make a dynamic poll options form.

Learn how to interact with Eloquent from a Livewire component.

See how to write code in a more Laravel fashion, using fluent interfaces.

See how to validate data before you save it.

See how to fetch and pass data to Livewire component.

Traffic lights

Read about what's good
what should give you pause
and possible dealbreakers
Covers Laravel 11, which is a modern PHP framework used for building robust web applications following the MVC architectural pattern
Explores database management with Eloquent ORM, which simplifies database interactions and provides an intuitive way to work with data
Develops RESTful APIs, which are essential for building modern web applications and integrating with other services and systems
Integrates with front-end libraries like Tailwind CSS and Alpine.js, which are popular choices for creating modern and responsive user interfaces
Requires familiarity with PHP basics, control structures, functions, data types, and object-oriented programming concepts, which may be a barrier for absolute beginners
Employs MySQL/SQLite for database design and management, requiring learners to set up and configure these database systems, which may require additional effort

Save this course

Create your own learning path. Save this course to your list so you can find it easily later.
Save

Reviews summary

Mastering laravel 11: comprehensive & project-based

According to learners, this course offers a comprehensive journey into modern web development with Laravel 11. Students highlight its effectiveness in taking them from beginner fundamentals to advanced techniques. A standout feature repeatedly praised is the inclusion of real-world, hands-on projects, which learners found instrumental in solidifying their understanding and practical skills. The instructor is widely regarded as knowledgeable and effective, making complex topics accessible. While overwhelmingly positive, some mention that the pace can be challenging for absolute programming novices, suggesting a little prior experience could be beneficial.
Covers the latest version of Laravel.
"Fully updated for Laravel 11, which is exactly what I needed."
"Appreciated that it covers the most recent changes and features."
"It feels current and relevant to modern Laravel development."
Instructor is clear, knowledgeable & engaging.
"The instructor's explanations are clear and easy to follow."
"He knows the material inside and out and explains complex topics well."
"The teaching style keeps you engaged throughout the course."
Covers beginner to advanced Laravel topics.
"Takes you from setting up your first project to building complex, real-world applications."
"The course content is incredibly comprehensive, covering a vast range of Laravel 11 features."
"I appreciate how it caters to both beginners and those looking to deepen their expertise."
Hands-on projects reinforce learning.
"Building the 5 real-world projects was the best part; it really cemented my understanding."
"The practical focus on creating actual applications is invaluable."
"These projects are relevant and excellent for building a portfolio."
Pace might be fast for absolute novices.
"While it says 'beginner', having some prior PHP or programming knowledge helps keep up."
"The course moves quickly at times, especially in later sections."
"Absolute beginners might need to pause and rewatch sections frequently."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Master Laravel 11 & PHP: From Beginner to Advanced with these activities:
Review PHP Fundamentals
Solidify your understanding of PHP fundamentals before diving into Laravel. This will make it easier to grasp Laravel's concepts and syntax.
Show steps
  • Review basic syntax, data types, and control structures.
  • Practice writing simple PHP scripts.
  • Familiarize yourself with object-oriented programming concepts in PHP.
Read 'Laravel: Up & Running'
Gain a solid understanding of Laravel's core concepts and features. This book will serve as a valuable reference throughout the course.
Show steps
  • Read the book cover to cover.
  • Try out the code examples in the book.
  • Take notes on key concepts and features.
Build a Simple CRUD Application
Practice building a CRUD (Create, Read, Update, Delete) application using Laravel. This will reinforce your understanding of routing, controllers, models, and views.
Show steps
  • Set up a new Laravel project.
  • Create a database and define your models.
  • Implement the CRUD operations using controllers and views.
  • Test your application thoroughly.
Four other activities
Expand to see all activities and additional details
Show all seven activities
Read 'Refactoring to Patterns'
Learn how to apply design patterns to your Laravel code to improve its quality and maintainability. This will help you write more robust and scalable applications.
View Melania on Amazon
Show steps
  • Read the book cover to cover.
  • Identify patterns that are relevant to your Laravel projects.
  • Practice applying these patterns to your code.
Write a Blog Post on Laravel Authentication
Deepen your understanding of Laravel's authentication system by writing a blog post explaining how it works. This will help you solidify your knowledge and share it with others.
Show steps
  • Research Laravel's authentication features.
  • Write a clear and concise blog post explaining the concepts.
  • Include code examples and screenshots.
  • Publish your blog post online.
Create a REST API Documentation using Swagger
Document a REST API built with Laravel using Swagger/OpenAPI. This will help you understand API design principles and create clear, concise documentation for other developers.
Show steps
  • Install and configure Swagger/OpenAPI in your Laravel project.
  • Define the API endpoints and data models using Swagger annotations or YAML files.
  • Generate the API documentation using Swagger UI.
  • Test the API documentation to ensure it's accurate and complete.
Contribute to a Laravel Package
Gain experience working with a real-world Laravel project by contributing to an open-source package. This will expose you to best practices and help you learn from experienced developers.
Show steps
  • Find a Laravel package on GitHub that you're interested in.
  • Read the package's documentation and code.
  • Identify a bug or feature that you can contribute.
  • Submit a pull request with your changes.

Career center

Learners who complete Master Laravel 11 & PHP: From Beginner to Advanced will develop knowledge and skills that may be useful to these careers:
PHP Developer
A PHP developer specializes in creating dynamic web content using the PHP programming language. The work includes writing server-side logic, integrating applications with web services, and managing databases. This course helps a PHP developer master Laravel, a leading PHP framework, making web development more efficient and enjoyable. The course emphasizes database design and management with MySQL or SQLite, which are essential skills for any PHP developer. The real-world projects, such as building a book reviews system and an events management API, provide hands-on experience that is directly applicable to a PHP developer's day-to-day tasks.
Back-End Developer
A back end developer focuses on the server-side logic, databases, and APIs that power web applications. This course is valuable for a back end developer, as it provides in-depth knowledge of Laravel, a leading PHP framework, and its capabilities for building robust server-side applications. The course's coverage of database design and management, RESTful API development, and authentication and authorization equip a back end developer with the skills needed to create scalable and secure web application back ends. The experience gained from constructing real-world projects will further enhance a back end developer's proficiency.
API Developer
An API developer specializes in designing, developing, and maintaining Application Programming Interfaces that allow different software systems to communicate with each other. This course helps an API developer deepen expertise in building RESTful APIs using Laravel. The course includes hands-on experience with API resources for response formatting, authentication with Laravel Sanctum, and authorization using Gates and Policies. The knowledge of task scheduling and queues will also equip an API developer to build scalable and efficient APIs for various applications.
Full-Stack Developer
A full stack developer works on both the front-end and back-end of web applications, handling everything from user interfaces to server-side logic and databases. This course is highly relevant for a full stack developer, as it covers essential skills for both front-end and back-end development using PHP and Laravel. The course emphasizes front-end integration with Tailwind CSS and Alpine.js, as well as back-end development using Laravel's MVC architecture and Eloquent ORM. By mastering these skills, a full stack developer can build complete web applications efficiently and effectively.
Web Developer
A web developer is involved in building websites and web applications, typically focusing on either front-end (client-side) or back-end (server-side) development. This course will be beneficial for web developers who want to enhance their proficiency in PHP and the Laravel framework. The syllabus encompasses a wide range of topics, including Laravel setup, MVC architecture, routing, and front-end integration. The hands-on projects will enable web developers to create practical applications and build a strong portfolio.
Web Application Developer
A web application developer creates and maintains web applications, focusing on both front-end and back-end development. This often involves writing code, testing, and debugging applications. This course helps build a strong foundation in Laravel, a popular PHP framework, which is crucial for developing scalable and maintainable web applications. Working with real-world projects helps a web application developer gain practical experience in building database-driven applications, managing user authentication, and creating RESTful APIs. The knowledge gained will be useful for building robust and efficient web solutions as a web application developer.
Software Developer
A software developer is a broad role that encompasses designing, writing, testing, and maintaining software applications. This course may be useful for software developers looking to expand their skills in web development using PHP and the Laravel framework. The course offers a practical, hands-on approach to mastering Laravel, covering framework fundamentals, database design, and API development. The experience with real-world applications helps a software developer build the skills and confidence to create robust and scalable web solutions.
Software Engineer
A software engineer designs, develops, and tests software applications. They apply principles and techniques of computer science, engineering, and mathematical analysis to create software solutions. This course may be useful for a software engineer looking to enhance their skills in web development using PHP and the Laravel framework. The course's coverage of MVC architecture, database interactions, and API development helps a software engineer build a strong understanding of web application development best practices. The focus on real-world projects will also deepen a software engineer's practical skills and ability to deliver high-quality software solutions.
Technical Lead
A technical lead is responsible for guiding a team of developers, making technical decisions, and ensuring the successful delivery of software projects. This course may be useful for a technical lead who needs to have a strong understanding of web development using PHP and the Laravel framework. The comprehensive coverage of Laravel fundamentals, database design, and API development helps a technical lead guide their team effectively. The real-world projects provide practical insights that enable the technical lead to make informed decisions and ensure the quality of the team's output.
Application Architect
An application architect designs the structure of software applications, ensuring they meet business requirements and are scalable, maintainable, and secure. This course may be useful for application architects, teaching them about web application architectures using PHP and Laravel. The understanding of MVC architecture, database interactions, and API development provides the necessary information for designing robust web applications. The focus on real-world projects will also enhance ability to create practical application architectures for the enterprise.
IT Consultant
An Information Technology consultant provides expert advice and guidance to organizations on how to use technology to meet their business objectives. This course may be useful for an IT consultant who needs to understand web application development using PHP and the Laravel framework. The course provides a practical, hands-on approach to mastering Laravel, covering framework fundamentals, database design, and API development. This knowledge helps an IT consultant advise clients on the best practices for building robust and scalable web applications.
Solutions Architect
A solutions architect designs and oversees the implementation of technology solutions to address business problems. They need a broad understanding of various technologies and how they can be integrated to create effective solutions. This course may be useful to solutions architects who need to understand web application development using PHP and the Laravel framework. The course provides insights into MVC architecture implementation, API development, and front-end integration. This knowledge helps a solutions architect design web-based solutions that are scalable, maintainable, and aligned with business requirements.
Webmaster
A webmaster is responsible for maintaining and managing websites, ensuring they are up-to-date, secure, and functioning correctly. This course may be useful for a webmaster looking to enhance their skills in web development and maintenance using PHP and the Laravel framework. The coverage of various topics, including Laravel setup, routing, and front-end integration with Tailwind CSS, may help a webmaster improve their ability to manage and enhance websites effectively. The hands-on projects can also provide a webmaster with practical experience in building and maintaining web applications.
Systems Analyst
A systems analyst analyzes an organization's computer systems and procedures, recommending changes to make systems more efficient and effective. This course may be useful for systems analysts who need to understand web application development using PHP and the Laravel framework. The course covers MVC architecture implementation, database interactions, and API development, which helps a systems analyst understand the technical aspects of web applications. The real-world projects will provide systems analysts with practical insights that enable them to make informed recommendations for improving web-based systems.
Database Administrator
A database administrator is responsible for managing and maintaining databases, ensuring data integrity, security, and availability. This course may be useful for database administrators who want to understand how web applications interact with databases using frameworks like Laravel. The course covers database design and management with MySQL/SQLite, which helps a database administrator understand how developers use databases in web applications. The knowledge of Eloquent ORM and database seeding will provide insights into how Laravel simplifies database interactions, making database administration more effective.

Reading list

We've selected two books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Master Laravel 11 & PHP: From Beginner to Advanced.
Provides a comprehensive introduction to Laravel. It covers everything from installation and configuration to routing, controllers, and views. It's a great resource for beginners and experienced developers alike. This book is commonly used as a reference by industry professionals.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Similar courses are unavailable at this time. Please try again later.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser