sohbatiha/nova-posts

A powerful package to add posts resource to nova panel .

v1.0.3 2020-12-16 18:10 UTC

This package is auto-updated.

Last update: 2024-04-17 01:53:58 UTC


README

A powerful package to add posts resource to nova panel.

requirements:

  1. laravel
  2. 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 :

  1. English
  2. Persian