Background
I'm in the middle of migrating my legacy codebase to use the Model::shouldBeStrict(!app()->isProduction()) setting in the AppServiceProvider::boot method. Because this can't be done in a single commit / merge request, the setting is now set on the main branch, but interferes with all other branches for which I have to turn it off. It would be great to be able to toggle this setting on or off from the ui.
Feature description
Introduce a new tab in the debug bar that contains multiple checkboxes for all common development settings:
- Model::preventLazyLoading
- Model::preventAccessingMissingAttributes
- Model::preventSilentlyDiscardingAttributes
Background
I'm in the middle of migrating my legacy codebase to use the
Model::shouldBeStrict(!app()->isProduction())setting in theAppServiceProvider::bootmethod. Because this can't be done in a single commit / merge request, the setting is now set on the main branch, but interferes with all other branches for which I have to turn it off. It would be great to be able to toggle this setting on or off from the ui.Feature description
Introduce a new tab in the debug bar that contains multiple checkboxes for all common development settings: