awesome-nova/filter-card

A Laravel Nova card.

Installs: 40 389

Dependents: 0

Suggesters: 0

Security: 0

Stars: 26

Watchers: 2

Forks: 4

Open Issues: 4

Language:Vue

v1.0.2 2019-08-05 13:53 UTC

This package is auto-updated.

Last update: 2022-01-05 18:55:36 UTC


README

Latest Version on Github Total Downloads Become a Patron!

  1. Installation
  2. Usage

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require awesome-nova/filter-card

Usage

You need to add card to resource with specified filter.

use AwesomeNova\Cards\FilterCard;
use App\Nova\Filters\StateFilter;

public function filters()
{
    return [
        new StateFilter(),
    ];
}

public function cards()
{
    return [
        // Other cards...,
        new FilterCard(new StateFilter()),
    ];
}