DEV Community

Cover image for A powerful modular architecture package for Laravel applications
saeed abdollahian
saeed abdollahian

Posted on

A powerful modular architecture package for Laravel applications

for install :
See GitHub

composer require saeedvir/laravel-modular

INSTALLATION

A powerful modular architecture package for Laravel applications that allows you to organize your codebase into independent, reusable modules with automatic discovery and zero configuration.

โœจ Features
๐Ÿš€ Auto-Discovery - Modules automatically discovered and registered via composer merge plugin

๐Ÿ“ฆ Zero Configuration - Just run composer dump-autoload after creating modules

โšก Performance Optimized - Built-in caching and lazy loading for production use

โšก (saeedvir/laravel-modular ๐Ÿ†š nWidart/laravel-modules) Peak memory: Improved by 23.1% and Memory usage improved by 10.2%

๐ŸŽจ Complete Module Structure - Controllers, models, views, routes, migrations, translations

๐Ÿ”ง Artisan Commands - Comprehensive CLI tools for module management

๐Ÿ“Š Performance Monitoring - Track module discovery and operation performance

๐Ÿ› Debug-Aware Logging - Respects APP_DEBUG for production-friendly logs

๐Ÿงช Testing Support - Built-in infrastructure for module testing

๐ŸŽฏ Laravel 11 & 12 - Full support for modern Laravel versions

Top comments (0)