marcoraddatz / filter-card

Index filtering card.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Nova Filter Card Package

Latest Version on Github Total Downloads Become a Patron!

This fork has only changed some CSS.

  1. Installation
  2. Usage

Installation

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

composer require marcoraddatz/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()),
    ];
}

About

Index filtering card.


Languages

Language:Vue 57.5%Language:PHP 35.9%Language:JavaScript 6.6%