NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #866 most downloaded on Packagist
Laravel Module management
Latest stable
v13.3.0
Last release 25 days ago
28 Oct 2026
Ships unpredictably
gaps range from 8 days to 9 months
Nearly every release is documented
notes for 55 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
118 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
stubs: Align command and job stubs with Laravel 13
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Deprecate the unused module boot/register chain and remove dead code
Most apps on the default published config need no change. Read the items below if you use custom stubs, custom generator paths, or run module commands in scripts, CI or deploys.
<details> <summary>Show upgrade notes</summary>
stubs.path needs 'stubs' => ['enabled' => true]. Without it the path is ignored (#2198)paths.generator.<key> without namespace (actions, casts, enums, exceptions, helpers, interfaces, repository, services, traits) now derives the namespace from path. Add namespace to keep the old one (#2207)module:make rejects generator paths outside paths.app_folder, and with app_folder => '' paths that do not match their StudlyCase namespace (Providers, not app/Providers). It exits 1 and lists the bad keys (#2209, #2225)generate => false also skips the stub files the key owns. 'assets' => false no longer writes vite.config.js and package.json. Set the key to true to get them back (#2223)route-provider.stub / scaffold/provider.stub: old copies keep working as before. To get the new behaviour (routes dropped when not in stubs.files or routes.generate is false; provider list follows generated providers), copy the %%START_WEB_ROUTES%%/%%END_WEB_ROUTES%% and %%START_API_ROUTES%%/%%END_API_ROUTES%% markers and protected array $providers = [$PROVIDERS$]; from src/Commands/stubs/ (#2216, #2180)config/modules.php: translation auto-discovery is now off. Publish the config and set 'auto-discover' => ['translations' => true] if you relied on it (#2184)module:publish-translation writes to lang/modules/{module}. Move old copies from resources/lang/{module}. While resources/lang exists, lang_path() points to it and lang/ stops loading. Modules generated with v11 stubs: use lang_path('modules/...') instead of resource_path('lang/modules/...') (#2185)config.php publish to config/<module>/<file>.php. Move files published earlier (#2186)modules_statuses.json must be a JSON object (module name to true/false). A corrupt file or a bad modules.activator config now throws (#2205)--all in non-interactive mode prints No module given. Pass a module name or --all. and exits 1 (it did nothing and exited 0). Add --all or module names (#2212)--all now runs non-interactively (-n, CI, scheduler): module:delete --all --force -n deletes every module (#2187)module:lang with missing translations, module:make-middleware and module:make-observer when the file exists (#2212, #2215, #2210)module:make requires name when non-interactive (#2210)module:migrate --subpath is now honoured. module:migrate-fresh --pretend is refused (#2212)module:publish-translation and module:publish-migration skip existing files. Pass --force to overwrite (#2199)module:prune now deletes records (it found no models before) (#2197)loadMigrationsFrom() paths, so those tables are dropped too (#2226)down() on the migration's connection ($connection, else --database). Check secondary databases (#2179)event:cache (#2219)aliases in module.json are now registered. Check for clashes (#2206)Installer and Publisher properties are nullable (redeclare them as nullable); Publisher defaults to $force = false (#2181, #2211, #2199)BaseCommand subclasses overriding initialize() must call parent::initialize() (#2187)GeneratorCommand adds a force option: remove your own (#2210)MigrateCommand has no constructor, $migrator or $migration_list (#2226)Module::boot(), register(), registerTranslation(), isLoadFilesOnBoot(); FileRepository::boot() and register() (and on RepositoryInterface); ModuleEvent::BOOT and REGISTER; Traits\MigrationLoaderTrait; config keys modules.register.translations and modules.register.files; ContractsServiceProvider (#2204, #2196)
</details>
install: module:install no longer passes the module name, version, path or repository URL through the shell, which allowed command injection from the
module:install no longer passes the module name, version, path or repository URL through the shell, which allowed command injection from the CLI or a committed modules.json. A failed install now exits with an error instead of running module:update (#2174, 25c4847)laravel-modules-development skill, by @rupeshstha (#2156, 63d90fa, 8dc6deb)module:migrate-fresh asks for confirmation in production before wiping the database (#2173, 9c27d35)module:migrate <Module> no longer runs the app's migrations or those of another module with a similar name (#2171, 4917d29)--pretend on module:migrate-rollback and module:migrate-reset, and ask for confirmation before a rollback in production (#2175, d7bab5e)AGENTS.md agent guidance and fix FUNDING.yml so both sponsor accounts show (fe7e532, 178ca04)Laravel 13.x Compatibility by @laravel-shift in https://github.com/nWidart/laravel-modules/pull/2138
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v12.0.5...v13.0.0
Replace Hardcoded Paths with Configurable Values in UpdatePhpunitCoverage Command by @cndrsdrmn in https://github.com/nWidart/laravel-modules/pull/210
UpdatePhpunitCoverage Command by @cndrsdrmn in https://github.com/nWidart/laravel-modules/pull/2108PLURAL_UPPER_NAME to Module Creation Replacement Variables by @alissn in https://github.com/nWidart/laravel-modules/pull/2102Full Changelog: https://github.com/nWidart/laravel-modules/compare/v12.0.4...v12.0.5
Fix: add missing closing tag by @ukeloop in https://github.com/nWidart/laravel-modules/pull/2060
module helper, improve code clarity, and handle exceptions by @alissn in https://github.com/nWidart/laravel-modules/pull/2063Full Changelog: https://github.com/nWidart/laravel-modules/compare/v12.0.3...v12.0.4
Hot fixes for mismatch variables by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/2059
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v12.0.2...v12.0.3
Create module() helper function and @module() blade directive by @solomon-ochepa in https://github.com/nWidart/laravel-modules/pull/2044
module() helper function and @module() blade directive by @solomon-ochepa in https://github.com/nWidart/laravel-modules/pull/2044Full Changelog: https://github.com/nWidart/laravel-modules/compare/v12.0.1...v12.0.2
Added missing type hinting for helpers.php by @edgarsn in https://github.com/nWidart/laravel-modules/pull/2030
module and module_namespace to be used inside migrations by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/2039Full Changelog: https://github.com/nWidart/laravel-modules/compare/v12.0.0...v12.0.1
add support for Laravel 12 by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/2029
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.10...v12.0.0
[fix] fix load modules by @alissn in https://github.com/nWidart/laravel-modules/pull/2026
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.9...v11.1.10
Refactor DocBlocks for clarity by @solomon-ochepa in https://github.com/nWidart/laravel-modules/pull/2007
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.8...v11.1.9
added option to use kebab case by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/2002
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.7...v11.1.8
set config as the tag by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1983
module:model-show Command with model:show Command in Laravel Framework by @alissn in https://github.com/nWidart/laravel-modules/pull/1990prohibitDestructiveCommands Method to Prevent Running Destructive Commands in Production by @alissn in https://github.com/nWidart/laravel-modules/pull/1996Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.6...v11.1.7
Reset Static Variable for Module Creation by @alissn in https://github.com/nWidart/laravel-modules/pull/1982
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.5...v11.1.6
Test against php 8.4 by @sergiy-petrov in https://github.com/nWidart/laravel-modules/pull/1967
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.4...v11.1.5
corrected app_folder path for updating phpunit by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1955
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.3...v11.1.4
added command to add enabled modules to code coverage includes by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1954
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.2...v11.1.3
Update Module manifest handling and improvement by @alissn in https://github.com/nWidart/laravel-modules/pull/1953
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.1...v11.1.2
fix function name by @alissn in https://github.com/nWidart/laravel-modules/pull/1940
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.1.0...v11.1.1
Update provider.stub by @solomon-ochepa in https://github.com/nWidart/laravel-modules/pull/1874
Multiselect to Multisearch in BaseCommand by @alissn in https://github.com/nWidart/laravel-modules/pull/1910module:model-show Command for Improved Model Detection by @alissn in https://github.com/nWidart/laravel-modules/pull/1931Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.11...v11.1.0
Create module:make-class command by @solomon-ochepa in https://github.com/nWidart/laravel-modules/pull/1802
module:migrate and module:migrate:fresh Commands by @alissn in https://github.com/nWidart/laravel-modules/pull/1866Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.10...v11.0.11
[feat] add direction option to command module:seed by @alissn in https://github.com/nWidart/laravel-modules/pull/1846
direction option to command module:seed by @alissn in https://github.com/nWidart/laravel-modules/pull/1846Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.9...v11.0.10
added make-event-provider command by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1845
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.8...v11.0.9
make-action command by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1837
make-action command by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1837make:cast command by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1840make-enum command by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1836make:exception command by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1841make:interface command by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1842make-helper command by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1838make:trait command by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1839make:scope command by @dcblogdev in https://github.com/nWidart/laravel-modules/pull/1843Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.7...v11.0.8
Changed wording for command descriptions to be consistent. by @kowston in https://github.com/nWidart/laravel-modules/pull/1825
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.6...v11.0.7
[fix] fix stubs composer for app_folder by @alissn in https://github.com/nWidart/laravel-modules/pull/1822
php artisan about command by @alissn in https://github.com/nWidart/laravel-modules/pull/1823Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.5...v11.0.6
[fix] check command has direction option, load module with 'priority' by @alissn in https://github.com/nWidart/laravel-modules/pull/1817
Full Changelog: https://github.com/nWidart/laravel-modules/compare/11.0.4...v11.0.5
corrected factories to Factories and added cache options to ENV by @enterprime in https://github.com/nWidart/laravel-modules/pull/1791
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.3...11.0.4
Modified to control the author through the .env configuration file. by @enterprime in https://github.com/nWidart/laravel-modules/pull/1785
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.2...v11.0.3
@enterprime fixed module:migrate-rollback command
Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.1...v11.0.2
[style] Run command php-cs-fixer by @alissn in https://github.com/nWidart/laravel-modules/pull/1775
php-cs-fixer by @alissn in https://github.com/nWidart/laravel-modules/pull/1775Full Changelog: https://github.com/nWidart/laravel-modules/compare/v11.0.0...v11.0.1
Fix for Symfony/Console by @jyxjjj in https://github.com/nWidart/laravel-modules/pull/1730
tests/Unit and tests/Feature by @alissn in https://github.com/nWidart/laravel-modules/pull/1757Database/Factories and Database/Seeders by @alissn in https://github.com/nWidart/laravel-modules/pull/1755app by @alissn in https://github.com/nWidart/laravel-modules/pull/1758Full Changelog: https://github.com/nWidart/laravel-modules/compare/v8.4.0...v11.0.0
@alissn Add command module prune
@azim-kordpour Add PHPDoc static to all methods in Module facade
App and Database namespace / folders by default@dcblogdev updated module:publish-config to a dynamic path to the service provider
module:publish-config to a dynamic path to the service provider@solomon-ochepa updated multiple & config stubs to follow modern laravel standards
$MODULE_NAMESPACE$ & $CONTROLLER_NAMESPACE$ placeholders to be used inside stubsvite.config.js file https://github.com/nWidart/laravel-modules/pull/1682-f when generating a modelreordered config commands and added missing observer command
@JaberWiki Added Include an optional flag subpath for rolling back a module's specific migration file #1626
subpath for rolling back a module's specific migration file #1626name to signature #1625Minimum PHP version to 8.1 for supporting Laravel 10
@wikigods added vite compatibility #1455
@alissn add command show model information #1429
Removed releases 9.0.2 and 9.0.3 due to server performance problems.
Removed releases 9.0.2 and 9.0.3 due to server performance problems.
This restored back to 9.0.1
Nothing published for this version
Nothing published for this version
Added option to publish stubs for modules php artisan vendor:publish --provider="Nwidart\Modules\LaravelModulesServiceProvider" --tag="stubs"
Minimum PHP version to 8.0 for supporting Laravel 9
Release to correct false being used instead of null for TestMakeCommand getOptions method
Release to correct false being used instead of null for TestMakeCommand getOptions method
Nothing published for this version
Nothing published for this version
In the config there's a breaking change for existing config files (fresh published configs are okay)
In the config there's a breaking change for existing config files (fresh published configs are okay)
To manually fix this import the commands class:
use Nwidart\Modules\Commands;
then update the commands array to prefix the command:
'commands' => [
Commands\CommandMakeCommand::class,
Commands\ComponentClassMakeCommand::class,
Commands\ComponentViewMakeCommand::class,
Commands\ControllerMakeCommand::class,
Commands\DisableCommand::class,
Commands\DumpCommand::class,
Commands\EnableCommand::class,
Commands\EventMakeCommand::class,
Commands\JobMakeCommand::class,
Commands\ListenerMakeCommand::class,
Commands\MailMakeCommand::class,
Commands\MiddlewareMakeCommand::class,
Commands\NotificationMakeCommand::class,
Commands\ProviderMakeCommand::class,
Commands\RouteProviderMakeCommand::class,
Commands\InstallCommand::class,
Commands\ListCommand::class,
Commands\ModuleDeleteCommand::class,
Commands\ModuleMakeCommand::class,
Commands\FactoryMakeCommand::class,
Commands\PolicyMakeCommand::class,
Commands\RequestMakeCommand::class,
Commands\RuleMakeCommand::class,
Commands\MigrateCommand::class,
Commands\MigrateRefreshCommand::class,
Commands\MigrateResetCommand::class,
Commands\MigrateRollbackCommand::class,
Commands\MigrateStatusCommand::class,
Commands\MigrationMakeCommand::class,
Commands\ModelMakeCommand::class,
Commands\PublishCommand::class,
Commands\PublishConfigurationCommand::class,
Commands\PublishMigrationCommand::class,
Commands\PublishTranslationCommand::class,
Commands\SeedCommand::class,
Commands\SeedMakeCommand::class,
Commands\SetupCommand::class,
Commands\UnUseCommand::class,
Commands\UpdateCommand::class,
Commands\UseCommand::class,
Commands\ResourceMakeCommand::class,
Commands\TestMakeCommand::class,
Commands\LaravelModulesV6Migrator::class,
],
View/Component to View/Componentssignature to nameNew module:make-component command to generate laravel components
module:make-component command to generate laravel componentsTarget class [Nwidart\Modules\Commands\] does not exist.Command management via configuration file
--web, --api and --plain options.$signature property instead of $nameorder was used instead of priorityUpdate ListenerMakeCommand to properly use the --events option
ListenerMakeCommand to properly use the --events optionRelease to correct false being used instead of null for TestMakeCommand getOptions method
Release to correct false being used instead of null for TestMakeCommand getOptions method
Nothing published for this version
Added return statements in artisan commands. Helpful to validate if something successfully ran.
Illuminate\Http\Resources\Json\JsonResource. (#969)Illuminate\Contracts\Support\Renderable. (#1020)php artsian module:enable (without any arguments) will enable all modules
php artsian module:enable (without any arguments) will enable all modulesphp artsian module:disable (without any arguments) will disable all modules### Added - Laravel 7.0 support
Properly guessing the namespace from the path (in GeneratorPath class)
GeneratorPath class)RouteServiceProvider and ModuleServiceProviderOne column per quarter.