nwidart/laravel-modules is a Laravel package which was created to manage your large Laravel app using modules. A module is like a Laravel package, it has some views, controllers or models. This package is supported and tested in Laravel 5. nwidart/laravel-modules is a Laravel package which created to manage your large Laravel app using modules. Module is like a Laravel package, it has some views, controllers or models. This package is supported and tested in Laravel 8. This package is a re-published, re-organised and maintained version of pingpong/modules, which isn't maintained anymore. This package is used in AsgardCMS. By default, the module classes are not loaded automatically. You can autoload your modules using psr-4. With one big added bonus that the original package didn't have, tests.
Features
- Creating a module is simple and straightforward
- By default when you create a new module, the command will add some resources like a controller, seed class, service provider, etc.
- You can publish the package configuration
- Overwrite the default generated stubs to be used when generating modules
- Overwrite the default paths used throughout the package
- Customize the generated composer.json file.