nwidart/laravel-modules
Laravel Module management
v13.0.0
17M downloads/mo
#829 most downloaded on Packagist
nWidart/laravel-modules
What this package is like to depend on
Last release 5 months ago
19 Mar 2026
Ships unpredictably
gaps range from 8 days to 9 months
Some releases are documented
notes for 59 of 115 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
115 releases · first in 2016
2 releases in the last 12 months
see the full history below
Release timeline
114 releases · Jun 2016 to Mar 2026Releases
latest 60 of 115-
v13.0.019 Mar 2026Release notes
Open source →What's Changed
- Laravel 13.x Compatibility by @laravel-shift in #2138
- prep for l13 by @dcblogdev in #2146
New Contributors
- @laravel-shift made their first contribution in #2138
Full Changelog: v12.0.5...v13.0.0
-
v12.0.519 Mar 2026Release notes
Open source →What's Changed
- Replace Hardcoded Paths with Configurable Values in
UpdatePhpunitCoverageCommand by @cndrsdrmn in #2108 - [fix] fix return type of method by @alissn in #2101
- Add
PLURAL_UPPER_NAMEto Module Creation Replacement Variables by @alissn in #2102 - Fix publishing config files for modules with multi-word names by @alissn in #2100
- Test against php 8.5 by @sergiy-petrov in #2121
- fix: correct Module parameter type in ActivatorInterface by @alissn in #2125
- Rename 'Disabling module' to 'Enabling module' in EnableCommand by @itshichabk in #2135
- fix(generator): resolve model namespace without app/ prefix in module observer stub by @malayvuong in #2112
- refactor: introduce ModuleServiceProvider base class to reduce boilerplate by @dominosaurs in #2115
- fix: resolve module helper dependency issues during service provider registration by @tareq-alqadi in #2118
- Add support for class-based replacements instead of closures by @alissn in #2119
- set default value for migration table configuration key by @dcblogdev in #2143
- use config instead of env for Vapor maintenance mode check by @dcblogdev in #2144
- Inertia support by @dcblogdev in #2145
New Contributors
- @cndrsdrmn made their first contribution in #2108
- @itshichabk made their first contribution in #2135
- @malayvuong made their first contribution in #2112
- @dominosaurs made their first contribution in #2115
Full Changelog: v12.0.4...v12.0.5
- Replace Hardcoded Paths with Configurable Values in
-
v12.0.429 Jun 2025Release notes
Open source →What's Changed
- Fix: add missing closing tag by @ukeloop in #2060
- [fix] fix Error Cannot instantiate abstract class by @alissn in #2062
- Refactor
modulehelper, improve code clarity, and handle exceptions by @alissn in #2063 - Refactor: Type property with interface instead of concrete class for better extensibility by @serhii-solodkyi in #2069
- Add ListCommands Command by @dcblogdev in #2081
- Ensure modules are registered in register phase by @tareq-alqadi in #2089
New Contributors
- @ukeloop made their first contribution in #2060
- @serhii-solodkyi made their first contribution in #2069
- @tareq-alqadi made their first contribution in #2089
Full Changelog: v12.0.3...v12.0.4
-
v12.0.328 Apr 2025Release notes
Open source →What's Changed
- Hot fixes for mismatch variables by @dcblogdev in #2059
Full Changelog: v12.0.2...v12.0.3
-
v12.0.228 Apr 2025Release notes
Open source →What's Changed
- Create
module()helper function and@module()blade directive by @solomon-ochepa in #2044 - Feature/pluralize module route paths by @solomon-ochepa in #2045
- Enhance Config Merging Logic to Prevent Duplicate Keys in Modules by @solomon-ochepa in #2052
- fix: update master view path to new component structure by @dcblogdev in #2055
- fix: update component namespace generation in module make command tests by @dcblogdev in #2056
- Allow Module Configs to Override Root Application Configs by @solomon-ochepa in #2053
Full Changelog: v12.0.1...v12.0.2
- Create
-
v12.0.108 Mar 2025Release notes
Open source →What's Changed
- Added missing type hinting for helpers.php by @edgarsn in #2030
- Update Stubs to Follow Laravel Pint Standards by @solomon-ochepa in #2035
- [new feature] Module plural names by @solomon-ochepa in #2036
- Bumps dependencies by @alissn in #2037
- [delete] delete unused files and command and test by @alissn in #2038
- allow
moduleandmodule_namespaceto be used inside migrations by @dcblogdev in #2039 - Make model with flags by @dcblogdev in #2041
- Add Support for Closures in Stub Variable Replacement by @alissn in #2040
New Contributors
Full Changelog: v12.0.0...v12.0.1
-
v12.0.024 Feb 2025Release notes
Open source → -
v11.1.1018 Feb 2025Release notes
Open source → -
v11.1.915 Feb 2025Release notes
Open source →What's Changed
- Refactor DocBlocks for clarity by @solomon-ochepa in #2007
- [fix] fix module prune command by @alissn in #2021
- Remove Cached Module Providers Manifest to Improve Dynamic Module Detection by @alissn in #2022
- Add PHP Linting (Pint) Action to the Package by @alissn in #2023
Full Changelog: v11.1.8...v11.1.9
-
v11.1.823 Dec 2024Release notes
Open source →What's Changed
- added option to use kebab case by @dcblogdev in #2002
Full Changelog: v11.1.7...v11.1.8
-
v11.1.706 Dec 2024Nothing published for this version
-
v11.1.616 Nov 2024Nothing published for this version
-
v11.1.516 Nov 2024Nothing published for this version
-
v11.1.422 Sep 2024Nothing published for this version
-
v11.1.322 Sep 2024Nothing published for this version
-
v11.1.220 Sep 2024Nothing published for this version
-
v11.1.117 Sep 2024Nothing published for this version
-
v11.1.013 Sep 2024Nothing published for this version
-
v11.0.1116 Jun 2024Nothing published for this version
-
v11.0.1005 May 2024Release notes
Open source →- @dcblogdev Update controller, service, helper, and action methods
- @omerbaflah Update service stubs
- @omerbaflah Update action stubs
- @AbdulkarimOmer Added invokable option into make-controller command
- @dcblogdev Updated vite-module-loader.js to handle case when a modules does not have a vite.config.js file
- @alissn Added direction option to command module:seed
-
v11.0.930 Apr 2024Release notes
Open source →- @dcblogdev added make-event-provider command, modules come with event as default now
-
v11.0.829 Apr 2024Release notes
Open source →- @solomon-ochepa Remove custom namespaces from generator [factory and seeder]
- @dcblogdev added make-action command
- @dcblogdev added make-cast command
- @dcblogdev added make-enum command
- @dcblogdev added make-exception command
- @dcblogdev added make-helper command
- @dcblogdev added make-interface command
- @dcblogdev added make-scope command
- @dcblogdev added make-trait command
- @dcblogdev added missing return type for make-service command
- @dcblogdev updated config
-
v11.0.725 Apr 2024Nothing published for this version
-
v11.0.621 Apr 2024Release notes
Open source →- @alissn change package version to Pretty on php artisan about
- @alissn fix stubs composer for app_folder
- @dcblogdev added make-service command
-
v11.0.517 Apr 2024Nothing published for this version
-
11.0.407 Apr 2024Nothing published for this version
-
v11.0.324 Mar 2024Nothing published for this version
-
v11.0.224 Mar 2024Nothing published for this version
-
v11.0.123 Mar 2024Nothing published for this version
-
v11.0.020 Mar 2024Nothing published for this version
-
10.0.628 Jan 2024Nothing published for this version
-
10.0.522 Jan 2024Nothing published for this version
-
10.0.413 Nov 2023Nothing published for this version
-
10.0.302 Nov 2023Nothing published for this version
-
10.0.218 Oct 2023Nothing published for this version
-
10.0.118 Oct 2023Nothing published for this version
-
v10.0.016 Feb 2023Release notes
Open source →Changed
- Minimum PHP version to 8.1 for supporting Laravel 10
- Laravel 10 version
- Increased PHPUnit to 10.0
- Increased Mockery to 1.5
-
v9.0.628 Oct 2022Nothing published for this version
-
9.0.531 Aug 2022Nothing published for this version
-
v9.0.428 Jul 2022 -
v9.0.323 Jul 2022Nothing published for this version
-
v9.0.222 Jul 2022Nothing published for this version
-
9.0.128 Feb 2022Release notes
Open source →Added
- Added option to publish stubs for modules
php artisan vendor:publish --provider="Nwidart\Modules\LaravelModulesServiceProvider" --tag="stubs"
Changed
- Added option to publish stubs for modules
-
v9.0.010 Feb 2022Nothing published for this version
-
8.6.002 Feb 2024Nothing published for this version
-
v8.5.031 Jan 2024Nothing published for this version
-
v8.4.0no dateNothing published for this version
-
v8.3.010 Feb 2022Nothing published for this version
-
8.2.011 Nov 2020Nothing published for this version
-
8.1.010 Nov 2020Nothing published for this version
-
8.0.003 Oct 2020Nothing published for this version
-
7.4.002 Feb 2024Nothing published for this version
-
7.3.010 Sep 2020Nothing published for this version
-
7.2.030 Jul 2020Release notes
Open source →Added
- Added return statements in artisan commands. Helpful to validate if something was successfully ran. (#1026)
Changed
- Update JsonResource namespace, using the new
Illuminate\Http\Resources\Json\JsonResource. (#969) - Enable command returns the status code (#978)
- Removing module service provider from composer.json stub (#996)
- Fixed custom stub path issue. Replacing a hardcoded stub path. (#1016)
- Controller return type changed to
Illuminate\Contracts\Support\Renderable. (#1020) - Change bigIncrements method to id (#1029)
- Adding force option for module:seed (#1030)
-
7.1.014 Apr 2020Release notes
Open source →Changed
php artsian module:enable(without any arguments) will enable all modulesphp artsian module:disable(without any arguments) will disable all modules- Updating Laravel Mix version as well as cross-env.
-
7.0.026 Mar 2020 -
6.2.012 Nov 2019Release notes
Open source →Changed
- Properly guessing the namespace from the path (in
GeneratorPathclass) - Fixing generation of resource file if the resource has been disabled to generate
- Fix when using a custom service provider namespace, namespace is correctly referenced in module.json and compose.json
- Fix when using custom service provider namespace, module path is correctly referenced in the
RouteServiceProviderandModuleServiceProvider - Fix when using a custom path for controllers in the controller stub
- Properly guessing the namespace from the path (in
-
6.1.001 Nov 2019Release notes
Open source →Added
- Added new
module:deletecommand
Changed
- Add optional path parameter to
module_pathhelper (PR#861) - The default path of the
module_statuses.jsonfile has been moved to the Application's base path. This is to improve its visibility and the fact that it can be committed by default. - Throw an exception when no proper activator class was configured
- Added new
-
6.0.019 Sep 2019Release notes
Open source →Added
-
New File Activator feature. PR #790 from @ryssbowh
This feature changes how modules are activated and de-activated. Currently module statuses are stored on disk, this features adds the possibility of storing this status information in a database.
Use the command
php artisan module:v6:migrateto have old modules active status migrated to the new system.
Changed
-
Alternate way to define the namespace of modules in PR #776 by @daison12006013
This allows to have the content of the module under an
src/folder for example. -
BREAKING New way to handle active and inactive modules.
Modules don't store their active status in their module.json file anymore, but in a file under the storage folder. Run
php artisan module:v6:migrateto use the new system. -
BREAKING Renamed method
enabledtoisEnabledin\Nwidart\Modules\Module. -
BREAKING Renamed method
disabledtoisDisabledin\Nwidart\Modules\Module. -
BREAKING Renamed method
enabledtoisEnabledin\Nwidart\Modules\FileRepository. -
BREAKING Renamed method
disabledtoisDisabledin\Nwidart\Modules\FileRepository. -
BREAKING Removed the
__getmagic method on the\Nwidart\Modules\Moduleclass. Useget()orjson()->get()instead. -
The
module:make-listenercommand now correctly uses the namespace configuration -
The generated Factories now has type hints for the
\Illuminate\Database\Eloquent\Factoryclass -
Improved foreign key constraint generation
-
Exception handling in the
SeedCommandhas been improved
-
-
5.1.005 Sep 2019Nothing published for this version