Courses

[NEW] Laravel Modules and DDD

  • 16 video+text lessons
  • 1 h 59 min

The full course is available only for premium members.

Login Or Join Premium ($129/year or $29/mo)
Can I buy ONLY THIS course without subscription?

About this course

1-minute video "trailer":

How to structure LARGER Laravel projects? This is one of the common questions from the community.

There are two common ways, discussed in this course:

  • Separate code into Modules, so that devs/teams could potentially work on separate parts, independently
  • Domain-Driven Design (DDD), so that business logic would be separated from the implementation

In this 2-hour video+text course, I will show/compare both, so you would decide whether you need Modules/DDD for your next Laravel project.

For Modules, we will discuss three different ways to modularize a Laravel project:

  • nwidart/laravel-modules package
  • internachi/modular package
  • no 3rd-party package at all

For DDD, we will try to re-create the same Modular project from the first section, with Domain-Driven approach.

But, we need to start with planning. So, let's dive into the first lesson?