armetiz/form-extension-bundle
entity_ajax, improving UX for forms with heavy relationships.Adopt If:
EntityType forms with large related tables (e.g., >1,000 records) causing slow initial renders.Look Elsewhere If:
FormEvent system.For Executives:
"This lightweight bundle cuts form load times by 80%+ for relationships with large datasets (e.g., ‘Assign a user’ in a system with 5,000+ users). By deferring heavy data fetches until needed—via AJAX—we improve admin panel responsiveness without rewriting core logic. It’s a 2-hour implementation with a 10x UX payoff, leveraging existing tools (Chosen.js) we already use. Risk is low: it’s a drop-in replacement for EntityType with minimal custom JS."
For Engineers:
*"The entity_ajax type extends Symfony’s EntityType to load only the current related entity (e.g., book.owner instead of all users). It’s a thin wrapper around existing EntityType options, so migration is trivial:
->add('owner', 'entity') with ->add('owner', 'entity_ajax')./api/users) to fetch additional results on demand.ajaxChosen for a polished UX.
Pros: No Doctrine queries on initial render, minimal code changes. Cons: Unmaintained (but stable for Symfony 2.x), requires manual AJAX setup. Ideal for quick wins on slow forms."*How can I help you explore Laravel packages today?