awesome-nova / filter-card
A Laravel Nova card.
Installs: 101 750
Dependents: 0
Suggesters: 0
Security: 0
Stars: 25
Watchers: 2
Forks: 8
Open Issues: 6
Language:Vue
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-11-06 01:33:03 UTC
README
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()), ]; }