sohbatiha/nova-posts

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

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: 2021-10-16 20:16:26 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