NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2519 most downloaded on Packagist
Modularize your Laravel apps
Latest stable
3.0.2
Last release 8 months ago
23 Mar 2026
Release timing varies
gaps range from 3 weeks to 11 months
Nearly every release is documented
notes for 28 of 28 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
44 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
fix: boost skill does not use correct module directory by @calebdw in https://github.com/InterNACHI/modular/pull/133
Full Changelog: https://github.com/InterNACHI/modular/compare/3.0.1...3.0.2
Fix deprecation warning by @inxilpro in https://github.com/InterNACHI/modular/pull/130
Full Changelog: https://github.com/InterNACHI/modular/compare/3.0.0...3.0.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Please see the Upgrade Guide for a complete list of breaking changes and migration instructions.
Modular 3.0 is a mostly backwards-compatible rewrite of much of the modular core.
Modular 3.0 introduces a plugin-based architecture that replaces the monolithic service provider with focused, composable plugin classes. This architectural refactoring improves extensibility, testability, and separation of concerns.
Each aspect of module auto-discovery is now handled by a dedicated plugin:
| Plugin | Responsibility |
|---|---|
ModulesPlugin |
Discovers composer.json files and creates ModuleConfig instances |
RoutesPlugin |
Loads route files from modules |
ViewPlugin |
Registers view namespaces |
BladePlugin |
Registers Blade components with module namespaces |
TranslatorPlugin |
Registers translation namespaces and JSON paths |
EventsPlugin |
Discovers and registers event listeners |
MigratorPlugin |
Registers migration paths |
GatePlugin |
Auto-registers model policies |
ArtisanPlugin |
Registers console commands |
Third-party packages or application code can register custom plugins:
use InterNACHI\Modular\PluginRegistry;
PluginRegistry::register(MyCustomPlugin::class);
Custom plugins will be automatically integrated into the caching system and can use the attribute-based lifecycle controls.
Each plugin implements a two-phase lifecycle:
discover() - Scans the filesystem and returns serializable discovery datahandle() - Processes the discovered data (registers with Laravel services)PHP 8 attributes control when plugins execute:
use InterNACHI\Modular\Plugins\Attributes\AfterResolving;
#[AfterResolving(BladeCompiler::class)]
class BladePlugin extends Plugin
{
// Only runs when BladeCompiler is resolved
}
The modules:cache command now caches all plugin discovery data in a single file (bootstrap/cache/app-modules.php). This simplifies cache invalidation and reduces filesystem operations during bootstrapping.
Modular 3.0 requires Laravel 11 or later and PHP 8.3 or later. This allows us to leverage modern PHP features like attributes and constructor property promotion throughout the codebase.
The Livewire integration has been moved to a separate package to keep the core package focused and reduce dependencies.
Please see the Upgrade Guide for a complete list of breaking changes and migration instructions.
Full Changelog: https://github.com/InterNACHI/modular/compare/2.3.0...3.0.0
Please see the Upgrade Guide for a complete list of breaking changes and migration instructions.
Modular 3.0 is a mostly backwards-compatible rewrite of much of the modular core.
Modular 3.0 introduces a plugin-based architecture that replaces the monolithic service provider with focused, composable plugin classes. This architectural refactoring improves extensibility, testability, and separation of concerns.
Each aspect of module auto-discovery is now handled by a dedicated plugin:
| Plugin | Responsibility |
|---|---|
ModulesPlugin |
Discovers composer.json files and creates ModuleConfig instances |
RoutesPlugin |
Loads route files from modules |
ViewPlugin |
Registers view namespaces |
BladePlugin |
Registers Blade components with module namespaces |
TranslatorPlugin |
Registers translation namespaces and JSON paths |
EventsPlugin |
Discovers and registers event listeners |
MigratorPlugin |
Registers migration paths |
GatePlugin |
Auto-registers model policies |
ArtisanPlugin |
Registers console commands |
Third-party packages or application code can register custom plugins:
use InterNACHI\Modular\PluginRegistry;
PluginRegistry::register(MyCustomPlugin::class);
Custom plugins will be automatically integrated into the caching system and can use the attribute-based lifecycle controls.
Each plugin implements a two-phase lifecycle:
discover() - Scans the filesystem and returns serializable discovery datahandle() - Processes the discovered data (registers with Laravel services)PHP 8 attributes control when plugins execute:
use InterNACHI\Modular\Plugins\Attributes\AfterResolving;
#[AfterResolving(BladeCompiler::class)]
class BladePlugin extends Plugin
{
// Only runs when BladeCompiler is resolved
}
The modules:cache command now caches all plugin discovery data in a single file (bootstrap/cache/app-modules.php). This simplifies cache invalidation and reduces filesystem operations during bootstrapping.
Modular 3.0 requires Laravel 11 or later and PHP 8.3 or later. This allows us to leverage modern PHP features like attributes and constructor property promotion throughout the codebase.
The Livewire integration has been moved to a separate package to keep the core package focused and reduce dependencies.
Please see the Upgrade Guide for a complete list of breaking changes and migration instructions.
Full Changelog: https://github.com/InterNACHI/modular/compare/2.2.1...3.0.0-beta.1
Full Changelog: https://github.com/InterNACHI/modular/compare/3.0.0-alpha.4...3.0.0-alpha.5
Full Changelog: https://github.com/InterNACHI/modular/compare/3.0.0-alpha.4...3.0.0-alpha.5
Full Changelog: https://github.com/InterNACHI/modular/compare/3.0.0-alpha.3...3.0.0-alpha.4
Full Changelog: https://github.com/InterNACHI/modular/compare/3.0.0-alpha.3...3.0.0-alpha.4
Full Changelog: https://github.com/InterNACHI/modular/compare/3.0.0-alpha.2...3.0.0-alpha.3
Full Changelog: https://github.com/InterNACHI/modular/compare/3.0.0-alpha.2...3.0.0-alpha.3
Moved Modularize helper trait to separate package.
Moved Modularize helper trait to separate package.
Full Changelog: https://github.com/InterNACHI/modular/compare/3.0.0-alpha.1...3.0.0-alpha.2
Please see the Upgrade Guide for a complete list of breaking changes and migration instructions.
Modular 3.0 is a mostly backwards-compatible rewrite of much of the modular core.
Modular 3.0 introduces a plugin-based architecture that replaces the monolithic service provider with focused, composable plugin classes. This architectural refactoring improves extensibility, testability, and separation of concerns.
Each aspect of module auto-discovery is now handled by a dedicated plugin:
| Plugin | Responsibility |
|---|---|
ModulesPlugin |
Discovers composer.json files and creates ModuleConfig instances |
RoutesPlugin |
Loads route files from modules |
ViewPlugin |
Registers view namespaces |
BladePlugin |
Registers Blade components with module namespaces |
TranslatorPlugin |
Registers translation namespaces and JSON paths |
EventsPlugin |
Discovers and registers event listeners |
MigratorPlugin |
Registers migration paths |
GatePlugin |
Auto-registers model policies |
ArtisanPlugin |
Registers console commands |
Third-party packages or application code can register custom plugins:
use InterNACHI\Modular\PluginRegistry;
PluginRegistry::register(MyCustomPlugin::class);
Custom plugins will be automatically integrated into the caching system and can use the attribute-based lifecycle controls.
Each plugin implements a two-phase lifecycle:
discover() - Scans the filesystem and returns serializable discovery datahandle() - Processes the discovered data (registers with Laravel services)PHP 8 attributes control when plugins execute:
use InterNACHI\Modular\Plugins\Attributes\AfterResolving;
#[AfterResolving(BladeCompiler::class)]
class BladePlugin extends Plugin
{
// Only runs when BladeCompiler is resolved
}
The modules:cache command now caches all plugin discovery data in a single file (bootstrap/cache/app-modules.php). This simplifies cache invalidation and reduces filesystem operations during bootstrapping.
Modular 3.0 requires Laravel 11 or later and PHP 8.3 or later. This allows us to leverage modern PHP features like attributes and constructor property promotion throughout the codebase.
The Livewire integration has been moved to a separate package to keep the core package focused and reduce dependencies.
Please see the Upgrade Guide for a complete list of breaking changes and migration instructions.
Full Changelog: https://github.com/InterNACHI/modular/compare/2.3.0...3.0.0-alpha.1
Fix getApplicationBasePath naming in testbench by @inxilpro in https://github.com/InterNACHI/modular/pull/111
getApplicationBasePath naming in testbench by @inxilpro in https://github.com/InterNACHI/modular/pull/111Factory by @samlev in https://github.com/InterNACHI/modular/pull/110Full Changelog: https://github.com/InterNACHI/modular/compare/2.2.1...2.3.0
Fix deprecated function signature by @da-mask in https://github.com/InterNACHI/modular/pull/63
Full Changelog: https://github.com/InterNACHI/modular/compare/2.2.0...2.3.0
Update link to Laravel docs by @avosalmon in https://github.com/InterNACHI/modular/pull/87
Full Changelog: https://github.com/InterNACHI/modular/compare/2.1.0...2.2.0
> This will be the last version to support Laravel 9 and PHP 8.0.
[!note] This will be the last version to support Laravel 9 and PHP 8.0.
Full Changelog: https://github.com/InterNACHI/modular/compare/2.0.0...2.1.0
> The 2.0.0 and 1.12.0 releases are functionally the same. The only changes are in composer version constraints, removing code that was specific to La
Note The
2.0.0and1.12.0releases are functionally the same. The only changes are in composer version constraints, removing code that was specific to Laravel 7, and a handful of refactors to PHP 8 language features.
Added support for factory model name resolution inside modules
make:command changes in Laravel 10Updated version constraints to add Laravel 10 support and drop automated testing for old versions of PHP and Laravel
Full Changelog: https://github.com/InterNACHI/modular/compare/1.10.0...1.11.0
Improved path normalization on Windows (thanks to @Sophist-UK)
Addressed issue where make:migration and make:livewire were not loading the custom --module option
make:migration and make:livewire were not loading the custom --module optionmake: commands to catch necessary changes quicker in the future--module flag for an unknown module now triggers a console errorAdded support for Blade component namespaces (i.e. )
<x-module::component.name />)make:seeder command introduced in Laravel 9.6.0### Added - Added support for Laravel 9.x
Added support for custom module stubs
make:livewire integration if Livewire is installedAdded support for PhpStorm's workspace.xml to the sync command and updated a test to match recent Laravel 8.0 changes.
Added support for PhpStorm's workspace.xml to the sync command and updated a test to match recent Laravel 8.0 changes.
### Added - Added support for make:cast
make:castAdded support for Livewire's make:livewire command
make:livewire commandAdded support for --module in php artisan db:seed
--module in php artisan db:seed--module flag is used in Laravel 8+--module flag is used in Laravel 8+Added better handling of missing directories
Added support for translations in modules
diglactic/laravel-breadcrumbs for breadcrumbs checkAdded better patching for PHPStorm config files to minimize diffs
Sort routes by name by default.
Sort routes by name by default.
Support for auto-registering Laravel 8 factory classes
AutoDiscoveryHelperAdds a fix for Windows directory separators.
Adds a fix for Windows directory separators.
Adds support for php artisan make:component
php artisan make:componentphp artisan modules:sync will now update additional PhpStorm config files--all on make:modelapp-modules/* composer repository rather than new repositories for each modulecomposer.json fileautoload-dev to autoload because composer doesn't support
autoload-dev for non-root configsBetter support for differences between Laravel 7 and 8.
Better support for differences between Laravel 7 and 8.
Nothing published for this version
Switched to single app-modules/* composer repository rather than new repositories for each module
Switched to single app-modules/* composer repository rather than new repositories for each module
Nothing published for this version
Beta release with new PhpStorm support.
Beta release with new PhpStorm support.
Introduces a few improvements to the default composer.json format.
Introduces a few improvements to the default composer.json format.
Security in case of vulnerabilities.
Added for new features.Changed for changes in existing functionality.Deprecated for soon-to-be removed features.Removed for now removed features.Fixed for any bug fixes.Security in case of vulnerabilities.Updated commands to use modules: instead of module:
Updated commands to use modules: instead of module:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Initial alpha release. Some command names may change, and some functionality may be tweaked to align more with core Laravel conventions (policy locati
Initial alpha release. Some command names may change, and some functionality may be tweaked to align more with core Laravel conventions (policy locations/etc), but all-in-all the functionality should work as expected.
One column per quarter.