Filters can be attached to one or many report.
By default, Laracube filters are stored in the app/Laracube/Filters
directory of your application.
All new filters should extends the Laracube\Laracube\Base\Filter
class.
<?php
namespace App\Laracube\Filters;
use Laracube\Laracube\Base\Filter;
class UserFiter extends Filter
{
// ...
}
Once you have defined a filter, you can then add them to the
filters
method of a report.