fix_menu_depth and template additions require zero code changes, only config updates.Admin classes to define default constructor values, which may conflict with custom DI configurations or legacy codebases.extra_javascript) may require custom theme adjustments if the base Sonata templates are already overridden.| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| Compiler Pass Side Effects | Medium | Test in staging; verify no existing DI conflicts. |
| Menu Depth Logic | Low | Configurable; can disable if unwanted. |
| Template Conflicts | Low | Extend base templates carefully. |
| Backward Compatibility | Medium | Check if existing Admin constructors break. |
Admin classes with non-standard constructors that could break auto-injection?fix_menu_depth break existing UX expectations (e.g., nested menus with one item are now flattened)?Admin implementations with complex constructor logic (e.g., dependency injection).Admin classes for constructor compatibility.twig/ overrides).fix_menu_depth via config (no code changes).Admin class at a time to use default constructor values.composer.json constraints).fix_menu_depth) → Highest priority (no risk).Admin classes.| Scenario | Impact | Recovery Strategy |
|---|---|---|
Compiler pass skips Admin |
Constructor args break | Manually redefine in services.yaml. |
| Menu depth flattens critical UI | UX regression | Disable via config or override templates. |
| Template conflicts | Broken assets | Merge custom templates with bundle’s types. |
| Sonata upgrade breaks bundle | Feature loss | Fork and maintain locally. |
Admin constructors (if adopted).Admin classes.How can I help you explore Laravel packages today?