tienvx/ux-collection-js
tienvx/ux-collection-js is a lightweight Laravel/PHP package for dynamic form collections. It makes it easy to add, remove, reorder, and manage repeatable fields or list items in the browser with minimal JavaScript and simple, Blade-friendly integration.
CollectionType fields — adding and removing rows client-side without a page reload. The product surfaces it enables are concrete: order line items, multi-address checkout, variant/SKU matrices, pricing tiers, tag and attribute editors, team-invite lists, and bulk admin data entry.name attributes, wire remove buttons. That is a sprint-task-sized UI concern, not a platform capability. For a 13-star, single-maintainer package last released in July 2022, adopting it as a dependency trades a half-day of work for permanent supply-chain exposure.Reasonable to evaluate when:
CollectionType" and the team would otherwise re-implement the recipe from the Symfony docs.Look elsewhere when:
For executives: This is a tiny, MIT-licensed UI utility for Symfony forms, not a strategic dependency. It saves perhaps half a day of front-end work on internal admin screens. It does not unlock a new product capability, carries real supply-chain and maintenance risk (one maintainer, no release since July 2022, minimal adoption), and is irrelevant if we are on Laravel. Recommendation: do not add it to our dependency set.
For engineering: If and when we need dynamic Symfony collection rows, copy the pattern into our own Stimulus controller — it is a small, well-understood piece of DOM manipulation and MIT-licensed, so vendoring is legally clean. That keeps ownership, review, and upgrade paths in-house and avoids pinning a trivial behavior to an unmaintained package. If the requirement grows beyond add/remove, the right investment is the official Symfony UX ecosystem, not this library.
Net position: evaluate-and-reject as a dependency; acknowledge as a reference implementation. Adopt the pattern, not the package.
How can I help you explore Laravel packages today?