Build modular Laravel apps
A powerful, flexible modular architecture system for Laravel applications. Build scalable, maintainable applications with independent, reusable modules.
Everything you need for modular development
A complete toolkit for building scalable Laravel applications
Module Registry
Centralized module management with auto-discovery, dependency resolution, and version validation.
15 Framework Bridges
Auto-discover routes, views, migrations, configs, commands, observers, policies, and more.
Link Registry
Fluent API for cross-module relationships without tight coupling between domain modules.
20+ Generator Commands
Scaffold modules, services, DTOs, actions, repositories, and more with Artisan commands.
Dependency Validation
Semver-compatible version constraints with circular dependency detection.
Production Ready
Full Octane support, caching, and optimization commands for high-performance apps.
Framework Bridges
Auto-discover and register framework components from your modules
Routes
Web, API, versioned APIs
Blade
Views & components
Migrations
Database schemas
Config
Deep merge support
Translations
PHP & JSON lang files
Commands
Artisan commands
Observers
Model observers
Policies
Authorization
Services
Contract bindings
Livewire
Components
Filament
Resources & pages
Schedule
Scheduled tasks
Quick Start
Create your first module in seconds
Installation
composer require esegments/modular-architecture
Create a module
php artisan modular:make-module Products
Module structure
Modules/Products/
├── app/
│ ├── Models/
│ └── Providers/ProductsServiceProvider.php
├── database/migrations/
├── config/
├── routes/
└── module.json
Ready to go modular?
Check out the documentation to learn how to build scalable Laravel applications.