Laravel Beyond CRUD

Laravel Beyond CRUD

  • 10 videos
  • 1 book
  • 01 h 29 min
  • Intermediate
  • $119.00


The knowledge in this course is built from the years of experience our team has building large, robust applications.

Domain oriented Laravel

Most principles in this course are based on best practices in domain driven design, and hexagonal architectures. These proven principles will be our guide throughout building large Laravel applications. Some of the theoretical topics we'll cover include:

  • The basic idea of domain groups explained
  • Practically applying DDD and hexagonal architecture principles in Laravel projects
  • When to use domains, and when to stick to Laravel's default structure
  • Thinking of "data" and "functionality" as two first-class citizens of your codebase
  • The state pattern to model complex, state-specific, flows
  • The difference between application and domain code
  • Writing robust code by using types and static analysis

In practice

We're nothing with only theory if we can't apply it in practice. This course focuses highly on combining the two: in each episode we'll do live coding, and build a project from the ground up:

  • Keeping model classes small and clean
  • Structuring complex queries
  • Passing data around in a structured way using Data Transfer Objects
  • How to make code reusable by using actions
  • Improving code clarity by using meaningful names
  • Keep controllers light by using view models
  • Adding behaviour to collections
  • Testing actions, Data Objects and model-related classes
  • Using enhanced test factories to seed data for every scenario
  • Using PhpStorm's refactoring tools to manage classes and namespaces
  • Scaffold different types of classes using PhpStorm templates

For everyone

While the main focus of this course lies on larger projects, there are many principles in it that you can apply today, in your own projects, even when they aren't large at all. We've used many of these principles ourselves, also in our smaller projects:

  • Data objects always have a significant impact, regardless of project size
  • Whatever type of project, you will be dealing with controllers, so view models will improve your workflow
  • Actions are a structured solution for code that would otherwise end up spread across the project
  • Even the smallest MVC app also deals with querying models, understanding Laravel's query builders will be an asset
  • Most principles in this course can be cherry-picked by you to solve your problems. Nothing is set in stone: there are no hard rules, only guidelines


  • May 10, 2023

    Ko bhaiya amake boleche ei review dewar jonye

    Osama Adnan Profile Photo Osama Adnan
  • Dec 22, 2022

    The best course for Laravel Developers!

    Alex Table Profile Photo Alex Table
  • Dec 14, 2022

    Great learning for large projects.

    Lloric Mayuga Garcia Profile Photo Lloric Mayuga Garcia


Brent Roose Profile Picture

Brent Roose

I am currently working as Dev Advocate for PhpStorm. I have been working almost exclusively on large web applications for the past few years. Besides my work, I am also very active in the PHP community.

Freek Van der Herten Profile Picture

Freek Van der Herten

I'm a PHP developer and Laravel enthusiast. Most of my time is spent at Spatie of which I'm the co-owner. Whenever my colleagues and I stumble upon a problem that we can solve in a clean way, we extract our solution so other developers can use it. Together with my colleagues I regularly release packages that have been downloaded more than 500 million times.