Modular Laravel
In this course, we'll discuss the modular monolith, or - if you want to sound fancy - a module-oriented architecture. A modular monolith provides a fantastic middle-ground between the simplicity of a traditional monolithic architecture, and some of the benefits you might encounter within a microservice-based architecture. Curious to learn more? Let's get going!
Series episodes
Introduction
2m 9sKickstart your Laravel journey by exploring the project goals and challenges we'll tackle together to build a powerful, real-world application step-by-step.
Splitting the Application
8m 9sLearn how to split your Laravel app into logical modules, improving organization, scalability, and maintainability with a clean, modular structure.
Setting Up Service Providers
10m 57sLearn how to set up service providers for each Laravel module, organizing your app’s bootstrapping and improving modularity with clear, maintainable code.
Where to Put Automated Tests
6m 32sDiscover the best places to store automated tests in modular Laravel apps, keeping your tests organized, maintainable, and easy to manage.
Setting Up Model Factories
5m 18sExplore the best ways to organize and store your Laravel model factories, making testing easier and your codebase cleaner and more maintainable.
Install the IDE Helper
4m 28sLearn how to install and configure the Laravel IDE Helper package to boost your coding efficiency and get smart autocompletion with modular projects.
Building a Basic Checkout Flow
20m 10sBuild a basic checkout flow in Laravel step-by-step, creating a solid foundation for your e-commerce app with clean, easy-to-follow code.
Introducing Data Transfer Objects
16m 38sLearn how to use Data Transfer Objects (DTOs) in Laravel to pass data cleanly between modules, improving code clarity and maintainability across your app.
Introducing a Payment Model
2m 55sAdd a Payment model abstraction to your Laravel app, making your code cleaner, more organized, and ready for scalable payment features.
Extracting Behavior to Actions
8m 37sLearn how to encapsulate and orchestrate app behavior using self-handling actions, making your Laravel code cleaner, modular, and easier to maintain. (157 characters) Let me know if you'd like it adjusted!
Payment Actions and Database Transactions
7m 31sLearn how to extract payment logic into a dedicated class and use database transactions to ensure reliable, maintainable Laravel payment processing.
Encapsulating Behavior Into Models
9m 8sLearn how to enrich your Laravel models by encapsulating key behaviors, making your code cleaner, more maintainable, and powerful.
Temporal Coupling and Events
11m 7sLearn how temporal coupling causes issues and discover how using an event system in Laravel can solve them for cleaner, more flexible code.
Consolidating Data Into Dtos
14m 57sLearn how to use DTOs to consolidate data and create stable contracts, making your Laravel app more organized, reliable, and easier to maintain.
Where We Are
5m 5sTake a quick pause to review your progress, see what you’ve built so far, and get ready to move forward with confidence in your Laravel project.
Introducing Interfaces and Enabling Polymorphism
14m 8sDiscover how to use interfaces in Laravel to enable polymorphism, making your code flexible, modular, and easier to maintain.
Automatically Loading Views and Components
6m 36sLearn how to configure Laravel to automatically load views and components from custom directories, streamlining your app’s structure and boosting productivity.
Tooling
5m 29sDiscover essential Laravel tools to build modular applications efficiently. Join this episode to explore powerful resources that boost your development workflow.
Vertical Slices
7m 25sLearn what vertical slices are and how to implement them in your app to improve organization, clarity, and maintainability from top to bottom.
Grouping by Type
7m 20sLearn how to group Laravel app components by type within modules to build clean, organized, and maintainable applications faster and smarter.
How to Fake Boundaries
10m 55sLearn how to create fake boundaries in tests by replacing components with fake versions, making your Laravel testing faster, cleaner, and more reliable.
Applying Templates to Our Mailables
4m 54sFix your mailables by applying Blade templates, ensuring your Laravel emails are clean, dynamic, and easy to maintain with this practical guide.
An Event-driven Approach - Part 1
5m 10sDiscover how to re-architect your checkout using events to build a more flexible, scalable Laravel app with clear, decoupled workflows.
An Event-driven Approach - Part 2
11m 32sExplore a simple event-driven implementation in Laravel, enhancing your app’s flexibility and making your code cleaner and easier to maintain.
Wrapping Up
4mThanks for joining this course! Wrap up your Laravel journey with key takeaways and insights to boost your skills and build better apps confidently.




