PHPackages                             rubricate/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. [Search &amp; Filtering](/categories/search)
4. /
5. rubricate/filter

ActiveLibrary[Search &amp; Filtering](/categories/search)

rubricate/filter
================

A flexible, lightweight, and object-oriented string filtering and sanitization library.

v4.0.0(4w ago)04501MITPHPPHP &gt;=8.2

Since Jul 1Pushed 4w ago1 watchersCompare

[ Source](https://github.com/rubricate/filter)[ Packagist](https://packagist.org/packages/rubricate/filter)[ RSS](/packages/rubricate-filter/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)Dependencies (2)Versions (7)Used By (1)

Rubricate Filter
================

[](#rubricate-filter)

[![Maintainer](https://camo.githubusercontent.com/12ec67552930b171d896cce3a73e9f9ff96c1d805edf534227f34a9c929bf4f9/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406573746566616e696f6e73616e746f732d626c75652e7376673f7374796c653d666c61742d737175617265)](https://estefanionsantos.github.io/)[![Source Code](https://camo.githubusercontent.com/fb72fa92c8a16ec12f93d1f89b4f60fe29e332816b7fe7616cca8bace08e526f/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d7275627269636174652f66696c7465722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/rubricate/filter)[![PHP from Packagist](https://camo.githubusercontent.com/bc2b45e09e95147390383a31de8e4efb61245a7121b107c924541c17de058914/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7275627269636174652f66696c7465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rubricate/filter)[![Latest Version](https://camo.githubusercontent.com/54f38eebc07a75241d3e0442aa0f09fba92cb3f33577003f93362a5bb90d410f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7275627269636174652f66696c7465722e7376673f7374796c653d666c61742d737175617265)](https://github.com/rubricate/filter/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/fdad2bf1758753047e7ad1c50b7ef4ab980a9a25f953f388d52b4c4a23299d1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7275627269636174652f66696c7465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rubricate/filter)

A flexible, lightweight, and object-oriented string filtering and sanitization library.

#### Last Version

[](#last-version)

```
$ composer require rubricate/filter

```

- Documentation is at
- issues:

### Credits

[](#credits)

- [All Contributors](https://github.com/rubricate/filter/contributors) (Let's program)

### License

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/rubricate/filter?tab=MIT-1-ov-file) for more information.

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance94

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% 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

Every ~649 days

Recently: every ~751 days

Total

6

Last Release

29d ago

Major Versions

v0.1.1 → v1.0.02023-09-04

v1.0.0 → v2.2.02023-09-12

v2.2.0 → v3.0.02025-01-22

v3.0.0 → v4.0.02026-05-24

PHP version history (4 changes)v1.0.0PHP &gt;=5.4

v2.2.0PHP &gt;=7.2

v3.0.0PHP &gt;=8.0

v4.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/f70ecd39117d58aa585338ef0c5021c6df35cc5a67080ffe20f8af512fea592c?d=identicon)[estefanionsantos](/maintainers/estefanionsantos)

---

Top Contributors

[![estefanionsantos](https://avatars.githubusercontent.com/u/6088043?v=4)](https://github.com/estefanionsantos "estefanionsantos (34 commits)")

---

Tags

slugvalidationfiltersanitizecamelcaserubricate

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rubricate-filter/health.svg)

```
[![Health](https://phpackages.com/badges/rubricate-filter/health.svg)](https://phpackages.com/packages/rubricate-filter)
```

###  Alternatives

[aura/filter

Filters to validate and sanitize objects and arrays.

157571.0k12](/packages/aura-filter)[htmlawed/htmlawed

Official htmLawed PHP library for HTML filtering

411.2M12](/packages/htmlawed-htmlawed)[phpsanitization/phpsanitization

Modern PHP Sanitization Library

181.5k](/packages/phpsanitization-phpsanitization)

PHPackages © 2026

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