The package’s new feature (force DOM usage even when integration options are enabled) introduces a configurability trade-off worth evaluating:
use_integration_options = true).use_integration_options disables DOM entirely.use_integration_options is active.use_integration_options? Are these rare exceptions or a pattern?use_integration_options was previously treated as an exclusive flag?View composers or Blade directives if the package renders DOM elements?config() helper or package-specific bindings). No external dependencies are added.use_integration_options = true to check if DOM behavior was assumed to be disabled.force_dom_usage) sparingly, defaulting to false to preserve existing behavior.use_integration_options = true + force_dom_usage = true are combined.Illuminate/Contracts).spatie/laravel-activitylog, laravel-notification-channels).UPGRADING.md and add examples for hybrid DOM/integration workflows.use_integration_options and force_dom_usage.use_integration_options = true may file bugs.force_dom_usage = true?").| Scenario | Risk Level | Mitigation |
|---|---|---|
| DOM events conflict with integration listeners | Medium | Add validation in package init. |
Flag misconfiguration (e.g., true when DOM shouldn’t be forced) |
Low | Clear error messages in logs. |
| Laravel service container collisions | Low | Test with bind() and singleton() overrides. |
use_integration_options and force_dom_usage.How can I help you explore Laravel packages today?