coolshop/easyadmin-filters-bundle

Filters for EasyAdmin

dev-master 2018-07-16 14:48 UTC

This package is not auto-updated.

Last update: 2024-05-01 20:25:42 UTC


README

EasyAdmin Filters Bundle adds the filters in the view list.

Requirements

How to use

  1. Use or extends "Coolshop\EasyAdminFilters\Controller\AdminFilterableController"
  2. Define under "easy_admin.EntityName.list" the "filters" attribute like "fields"
easy_admin:
 User:
  list:
   filters:
    - username
    - lastLogin
   fields:
    - username
    - firstName
    - lastName

Features

  • Use class controller or trait "Coolshop\EasyAdminFilters\Controller\Traits\Filterable"

License

This software is published under the MIT License