PHPackages                             juicelib/filtermodule - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. juicelib/filtermodule

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

juicelib/filtermodule
=====================

Intercept requests/responses at the route/MvcEvent::EVENT\_ROUTE event and transform or use the request or response

071PHP

Since Mar 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/JuiceLib/JuiceLib-FilterModule)[ Packagist](https://packagist.org/packages/juicelib/filtermodule)[ RSS](/packages/juicelib-filtermodule/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

JuiceLib-FilterModule
=====================

[](#juicelib-filtermodule)

Intercept requests/responses at the `route`/`MvcEvent::EVENT_ROUTE` event and transform or use the request or response.

Usage
-----

[](#usage)

Include the `JuiceLib\FilterModule` in `application.config.php`

```
'modules' => array(
    'JuiceLib\FilterModule',
    // your other modules
),

```

Create a `juice.global.php` file inside `config/autoload`. Alternatively you could add the filter config in any of your module's `module.config.php`

```
