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.
Architecture fit
BelongsToMany field in the box. Any adoption decision starts from a hard baseline: this package must deliver a materially better editing experience than a field the customer already owns and that is maintained alongside Nova itself.Laravel\Nova\Fields\Field with a Vue component and a composer.json constrained to laravel/nova. That is the sanctioned extension mechanism, so there is no architectural impedance: it registers in a resource's fields() method alongside any other field.Integration Feasibility
composer require, publish nothing, add the field to a resource. No migrations, no service provider wiring, no schema implications — the pivot table is already defined by the domain model.Technical risk
Key questions
Laravel\Nova\Fields\BelongsToMany does not, and is that delta worth owning a fork?dependsOn/rules integration — the features our resources actually rely on?Stack fit
Migration path
composer remove.BelongsToMany field, the swap is field-level only — the underlying Eloquent relationship method name is unchanged, so the resource definition changes but the model layer does not. That keeps rollback cheap, which is the main argument for permitting a spike at all.Compatibility
Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
Recommendation
BelongsToMany field covers the stated purpose, and the package carries concentrated supply-chain and bus-factor risk against zero measured upside.How can I help you explore Laravel packages today?