kayacekovic/belongs-to-many-field
Laravel package adding a belongs-to-many form field for attaching and detaching related models through a pivot table. Search, select, and manage associated records directly from the form without leaving the page, with customizable labels and query constraints.
Consider it when:
composer.json constraints and last commit date, not the README.BelongsToMany field can't do what you need. The package is small enough to audit in one sitting; read the source before trusting the description.Look elsewhere when:
BelongsToMany already covers it — the most likely outcome. Default to native and treat this as a UI reference only.Treat the score (opportunity 23.47, 0 dependents) as a demand signal: no one has validated this need. If we adopt, we're the first adopter — that's product R&D, not procurement, and should be scoped and staffed accordingly.
To executives: Low priority, low cost, no commitment required. This is not a strategic dependency and shouldn't enter a vendor review. If better many-to-many editing is on the admin roadmap, this repo is a code sample we may borrow — MIT-licensed, small, auditable — not a vendor we onboard. The zero-adoption profile means the only acceptable production posture is forking the source and owning it, which caps downside at a few engineering hours.
To engineering: We already ship Nova's native BelongsToMany field. Before writing anything, run a one-hour spike: install in a branch, diff the behavior against native, check Nova/Laravel version constraints and the last commit. If it's clearly better, vendor the source into our repo and own it. If not, close the ticket. Do not add it as a composer dependency in production — with 0 dependents there's no evidence anyone has run this through an upgrade.
How can I help you explore Laravel packages today?