ostheneo/nova-fields
最新稳定版本:1.1
Composer 安装命令:
composer require ostheneo/nova-fields
包简介
A Laravel Nova field.
README 文档
README
This package will include a group of fields that haven't been updated yet for nova v4 The first one is Benjacho/belongs-to-many-field-nova
Belongs To Many Field Nova With Dependant
Belongs To Many field to represent many to many relationship in field. This Field allow attaching relationships easily.
Installation
composer require ostheneo/nova-fields
Usage
In the resource you need to pass:
- Method make ('label', 'many to many relationship function name', 'Nova Resource Relationship')
use OsTheNeo\NovaFields\BelongsToManyField; public function fields(Request $request){ return [ ..., //If you are using with BelongsToMany native Field, put this field after BelongsToManyField::make('Role Label', 'roles', Role::class), ]; }
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 60.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-05-06
