LaravelPackages.net
Acme Inc.
Toggle sidebar
lathanhvien/custom-belongs-to-many-field

belongsToMany nova representation in field.

30.971
0
v1.0.0
About lathanhvien/custom-belongs-to-many-field

lathanhvien/custom-belongs-to-many-field is a Laravel package for belongstomany nova representation in field.. It currently has 0 GitHub stars and 30.971 downloads on Packagist (latest version v1.0.0). Install it with composer require lathanhvien/custom-belongs-to-many-field. Discover more Laravel packages by lathanhvien or browse all Laravel packages to compare alternatives.

Last updated

custom-belongs-to-many-field v1.0.0

Installation

$ composer require lathanhvien/custom-belongs-to-many-field  

Usage

This package extend from Benjacho/belongs-to-many-field-nova package, check it to know all support functions.
I add more function optionsShow($array) to show columns of $array on Index and Detail page. Use it like follow:

use Pifpif\CustomBelongsToManyField\CustomBelongsToManyField;  

CustomBelongsToManyField::make('Athletes', 'athletes', 'App\Nova\Athlete')
    ->optionsLabel('first_name')  
    ->optionsShow(['first_name','last_name'])  

Support

If you have any ideas about this package, feel free to contact me at gmail: [email protected] or skype: xprotoprotox

License

This package is available under the MIT license.

Star History Chart