Overview

Suppress exceptions and register your custom filters in the published config file.

Install

eloquent-filtering.php config file will be published via the install command.

php artisan eloquent-filtering:install

Default Configuration File

return [
    'default_allowed_sort_list'   => 'none',

    'suppress' => [
        'filter' => [
            'invalid'          => false,
            'missing'          => false,
            'malformed_format' => false,
            'denied'           => false,
        ],
        'sort' => [
            'malformed_format' => false,
            'denied'           => false,
        ],
    ],

    'custom_filters' => [

    ],
];