> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eloquentfiltering.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Config

## Overview

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

* This package throws various exception which can be [suppressed](/v2/digging-deeper/suppressing-exceptions).
* [Custom filters](/v2/digging-deeper/custom-filters) should be registered in the config.

## Install

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

```bash theme={null}
php artisan eloquent-filtering:install
```

## Default Configuration File

```php theme={null}
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' => [

    ],
];
```
