Upgrade guide
This package follows Semantic Versioning. Patch and minor releases are backward compatible; breaking changes only land in major versions and are listed here.
Migrating from another modules package
The layout is intentionally compatible, so most projects migrate without touching their modules:
- Keep your structure. The
Modules/directory,module.json, andmodules_statuses.jsonare read as-is. - Publish the config.bash
php artisan vendor:publish --tag=modules-config - Point providers at the new base class. Change a module's provider to extend
Dem1Off\LaravelModular\Module\ModuleServiceProvider; config, migrations, views and routes then load by convention. Declare bindings and listeners with attributes. - Keep app-specific concerns in your app. Anything proprietary (navigation, mailing, metrics, …) stays in your application, invoked from the module's
boot()— see Customising behaviour.
Within v1.x
Minor and patch releases are backward compatible. Breaking changes only land in the next major (v2) and are listed in the Changelog.