sohbatiha/nova-posts
Composer 安装命令:
composer require sohbatiha/nova-posts
包简介
A powerful package to add posts resource to nova panel .
README 文档
README
A powerful package to add posts resource to nova panel.
requirements:
- laravel
- laravel nova v2 or greater
Installation:
composer require sohbatiha/nova-posts
Then you can publish and migrate to create the needed tags table
php artisan vendor:publish php artisan migrate
additional fields :
for add additional fields to posts resource add below code to your service provider :
- array key values uses for priority of each field.
#use Illuminate\Support\Facades\Event; #use Laravel\Nova\Fields\ID; public function boot() { //... Event::listen("PostPackage::Fields" , function(){ return [ 11=>ID::make()->sortable(), //and other fields ... ]; }); //... };
Supported languages :
- English
- Persian
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-16