laravel-nova / belongs-to-many-component
A component for interacting with many-through-many relationships through the admin panel
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:tool
Requires
- php: ^8.2
- laravel/framework: ^11.9
- laravel/nova: ^4.0
- laravel/scout: ^10.11
- wopro/belongs-to-many-component: @dev
This package is auto-updated.
Last update: 2025-04-23 10:34:51 UTC
README
Install
composer require laravel-nova/belongs-to-many-component
- A component for interacting with many-through-many relationships through the admin panel
- Create a pivot model with migration following the ModelaModelb convention
- The foreign keys in the pivot model must be within the naming convention and correspond to the format modela_id and modelb_id
- In order for the link search to work, it is necessary to hang the search trace from Laravel Scout in the subject model