gabrieliuga/laravel-nova-field-seo-metabox
Composer 安装命令:
composer require gabrieliuga/laravel-nova-field-seo-metabox
包简介
A Laravel Nova field.
README 文档
README
Allow view and edit seo metabox data related to a model
This package requires:
- https://github.com/gabrieliuga/laravel-seo-meta-box - follow the instructions and use guide here before installing this package
Installation
You can install the package via composer:
composer require gabrieliuga/laravel-nova-field-seo-metabox
Usage
In your nova resource add the following lines
<?php namespace App\Nova use Giuga\LaravelNovaSeoMetaboxField\SeoMetabox; class Example extends Resource { ... /** * Get the fields displayed by the resource. * * @param \Illuminate\Http\Request $request * @return array */ public function fields(Request $request) { return [ ID::make()->sortable(), new SeoMetabox('Seo Metabox', $this->model()), ]; } }
Nova view:
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email me@iuga.dev instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-01-26
