PHPackages                             wyrihaximus/psr-3-keyword-filter - 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. wyrihaximus/psr-3-keyword-filter

Abandoned → [wyrihaximus/psr-3-filter](/?search=wyrihaximus%2Fpsr-3-filter)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

wyrihaximus/psr-3-keyword-filter
================================

PSR-3 keyword filter

1.0.0(8y ago)0189[1 PRs](https://github.com/WyriHaximus/php-psr-3-keyword-filter/pulls)MITPHPPHP ^7.0

Since Jun 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/WyriHaximus/php-psr-3-keyword-filter)[ Packagist](https://packagist.org/packages/wyrihaximus/psr-3-keyword-filter)[ RSS](/packages/wyrihaximus-psr-3-keyword-filter/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (7)Versions (3)Used By (0)

Abandoned! Use [`wyrihaximus/psr-3-filter`](https://github.com/wyrihaximus/php-psr-3-filter) instead
====================================================================================================

[](#abandoned-use-wyrihaximuspsr-3-filter-instead)

Keyword Filter for [PSR-3](http://www.php-fig.org/psr/psr-3/)
=============================================================

[](#keyword-filter-for-psr-3)

[![Linux Build Status](https://camo.githubusercontent.com/e9c0ac51f480844a0f3f353935787a9c9fba7ad4e26c5b1cc35d9c26e317f948/68747470733a2f2f7472617669732d63692e6f72672f57797269486178696d75732f7068702d7073722d332d6b6579776f72642d66696c7465722e706e67)](https://travis-ci.org/WyriHaximus/php-psr-3-keyword-filter)[![Latest Stable Version](https://camo.githubusercontent.com/c11133762c774d297d92397782f0c882c841ac342f349aebced1790e16dc32aa/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f7073722d332d6b6579776f72642d66696c7465722f762f737461626c652e706e67)](https://packagist.org/packages/WyriHaximus/psr-3-keyword-filter)[![Total Downloads](https://camo.githubusercontent.com/6cba04607209707db51ae4204e34099794a71c08be8807dd7d332497a50e2e54/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f7073722d332d6b6579776f72642d66696c7465722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/WyriHaximus/psr-3-keyword-filter/stats)[![Code Coverage](https://camo.githubusercontent.com/5938fe18927cd474383537004cf3c3159adabded3d3a846782df602f01031e28/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f57797269486178696d75732f7068702d7073722d332d6b6579776f72642d66696c7465722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/WyriHaximus/php-psr-3-keyword-filter/?branch=master)[![License](https://camo.githubusercontent.com/89327d7f6eaa01a8a73cd1c1c6333ea893fd99a89e3d5ef69cdce11f59bf8e18/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f7073722d332d6b6579776f72642d66696c7465722f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus/psr-3-keyword-filter)[![PHP 7 ready](https://camo.githubusercontent.com/8a02167050e8a1909997a2cda0586a7ddd62b8db157ba063cad35af632aac834/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f57797269486178696d75732f7068702d7073722d332d6b6579776f72642d66696c7465722f62616467652e737667)](https://travis-ci.org/WyriHaximus/php-psr-3-keyword-filter)

### Installation

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require wyrihaximus/psr-3-keyword-filter

```

Usage
-----

[](#usage)

```
$keywords = ['bad', 'evil'];
$monolog = new Monolog();
$filterredLogger = new MessageKeywordFilterLogger($keywords, $monolog);
$filterredLogger->info('bad'); // Won't reach monolog
$filterredLogger->info('good'); // Will reach monolog
$filterredLogger->info('evil'); // Won't reach monolog
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

Copyright 2017 [Cees-Jan Kiewiet](http://wyrihaximus.net/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3244d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (11 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (2 commits)")

---

Tags

filterkeywordkeyword-filterphpphp7psr-3

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/wyrihaximus-psr-3-keyword-filter/health.svg)

```
[![Health](https://phpackages.com/badges/wyrihaximus-psr-3-keyword-filter/health.svg)](https://phpackages.com/packages/wyrihaximus-psr-3-keyword-filter)
```

###  Alternatives

[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[j0k3r/php-readability

Automatic article extraction from HTML

186808.8k6](/packages/j0k3r-php-readability)[symfony/ai-platform

PHP library for interacting with AI platform provider.

51927.7k136](/packages/symfony-ai-platform)[symfony/ai-agent

PHP library for building agentic applications.

30536.7k44](/packages/symfony-ai-agent)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
