PHPackages                             joomla/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. [Framework](/categories/framework)
4. /
5. joomla/filter

ActiveJoomla-package[Framework](/categories/framework)

joomla/filter
=============

Joomla Filter Package

4.0.1(7mo ago)151.4M—8.1%22[3 issues](https://github.com/joomla-framework/filter/issues)[2 PRs](https://github.com/joomla-framework/filter/pulls)8GPL-2.0-or-laterPHPPHP ^8.3.0CI passing

Since Jul 11Pushed 7mo ago12 watchersCompare

[ Source](https://github.com/joomla-framework/filter)[ Packagist](https://packagist.org/packages/joomla/filter)[ Docs](https://github.com/joomla-framework/filter)[ RSS](/packages/joomla-filter/feed)WikiDiscussions 3.x-dev Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (53)Used By (8)Security (2)

The Filter Package [![Build Status](https://github.com/joomla-framework/filter/actions/workflows/ci.yml/badge.svg?branch=3.x-dev)](https://github.com/joomla-framework/filter)
==============================================================================================================================================================================

[](#the-filter-package-)

[![Latest Stable Version](https://camo.githubusercontent.com/8fb51c768ed63d1849927952466eb276c505f3852ad9bb873546e91e6b435793/68747470733a2f2f706f7365722e707567782e6f72672f6a6f6f6d6c612f66696c7465722f762f737461626c65)](https://packagist.org/packages/joomla/filter)[![Total Downloads](https://camo.githubusercontent.com/81eaef8df3ead967e0c2f4b1280e8ec799d999ed96dfdce4756c79148a9cfecf/68747470733a2f2f706f7365722e707567782e6f72672f6a6f6f6d6c612f66696c7465722f646f776e6c6f616473)](https://packagist.org/packages/joomla/filter)[![Latest Unstable Version](https://camo.githubusercontent.com/66cd73cfffe3cbdd5eba5768eb553dfc7941ef52d14228f10f0094116057ee82/68747470733a2f2f706f7365722e707567782e6f72672f6a6f6f6d6c612f66696c7465722f762f756e737461626c65)](https://packagist.org/packages/joomla/filter)[![License](https://camo.githubusercontent.com/ab11ecea49de0df396cfd132bb27d01678cee6e54a8d666815be2bbd8235e96d/68747470733a2f2f706f7365722e707567782e6f72672f6a6f6f6d6c612f66696c7465722f6c6963656e7365)](https://packagist.org/packages/joomla/filter)

Installation via Composer
-------------------------

[](#installation-via-composer)

Add `"joomla/filter": "~3.0.*@dev"` to the require block in your composer.json and then run `composer install`.

```
{
	"require": {
		"joomla/filter": "~3.0"
	}
}
```

Alternatively, you can simply run the following from the command line:

```
composer require joomla/filter "~3.0"
```

If you want to include the test sources, use

```
composer require --prefer-source joomla/filter "~3.0"
```

Note that the `Joomla\Language` package is an optional dependency and is only required if the application requires the use of `OutputFilter::stringURLSafe`.

Upgrades from 1 to 2
--------------------

[](#upgrades-from-1-to-2)

Note the InputFilter static class constants have been renamed:

BeforeAfterInputFilter::TAGS\_WHITELISTInputFilter::ONLY\_ALLOW\_DEFINED\_TAGSInputFilter::TAGS\_BLACKLISTInputFilter::ONLY\_BLOCK\_DEFINED\_TAGSInputFilter::ATTR\_WHITELISTInputFilter::ONLY\_ALLOW\_DEFINED\_ATTRIBUTESInputFilter::ATTR\_BLACKLISTInputFilter::ONLY\_BLOCK\_DEFINED\_ATTRIBUTESThe public property `InputFilter::tagBlacklist` has been renamed to `InputFilter::blockedTags`. Similarly `InputFilter::attrBlacklist` has been renamed to `InputFilter::blockedAttributes`

All code usage of these properties remains unchanged.

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance58

Moderate activity, may be stable

Popularity51

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~95 days

Recently: every ~18 days

Total

48

Last Release

230d ago

Major Versions

1.4.6 → 2.0.42024-02-20

2.0.4 → 3.0.12024-02-20

1.4.7 → 2.0.52024-08-20

2.0.5 → 3.0.22024-08-20

3.0.4 → 4.0.02025-07-23

PHP version history (7 changes)1.0-alphaPHP &gt;=5.3.10

1.3.0PHP ^5.3.10|~7.0

2.0.0-betaPHP ^7.2.5

1.4.4PHP ^5.3.10|~7.0|^8.0

2.0.2PHP ^7.2.5|~8.0.0|~8.1.0

3.0.0PHP ^8.1.0

4.0.0PHP ^8.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/305a2164440014dcef9ac681c139fe5e8a1ce1d7a8c3b3cfb828497729a4c70e?d=identicon)[wilsonge](/maintainers/wilsonge)

---

Top Contributors

[![mbabker](https://avatars.githubusercontent.com/u/368545?v=4)](https://github.com/mbabker "mbabker (117 commits)")[![Hackwar](https://avatars.githubusercontent.com/u/313866?v=4)](https://github.com/Hackwar "Hackwar (36 commits)")[![nibra](https://avatars.githubusercontent.com/u/827605?v=4)](https://github.com/nibra "nibra (27 commits)")[![wilsonge](https://avatars.githubusercontent.com/u/1986000?v=4)](https://github.com/wilsonge "wilsonge (22 commits)")[![richard67](https://avatars.githubusercontent.com/u/7413183?v=4)](https://github.com/richard67 "richard67 (21 commits)")[![photodude](https://avatars.githubusercontent.com/u/10253980?v=4)](https://github.com/photodude "photodude (14 commits)")[![dongilbert](https://avatars.githubusercontent.com/u/718028?v=4)](https://github.com/dongilbert "dongilbert (8 commits)")[![zero-24](https://avatars.githubusercontent.com/u/2596554?v=4)](https://github.com/zero-24 "zero-24 (6 commits)")[![SniperSister](https://avatars.githubusercontent.com/u/498096?v=4)](https://github.com/SniperSister "SniperSister (6 commits)")[![ianmacl](https://avatars.githubusercontent.com/u/176534?v=4)](https://github.com/ianmacl "ianmacl (4 commits)")[![jbanety](https://avatars.githubusercontent.com/u/1055330?v=4)](https://github.com/jbanety "jbanety (3 commits)")[![eddieajau](https://avatars.githubusercontent.com/u/700871?v=4)](https://github.com/eddieajau "eddieajau (3 commits)")[![joomla-jenkins](https://avatars.githubusercontent.com/u/929228?v=4)](https://github.com/joomla-jenkins "joomla-jenkins (3 commits)")[![realityking](https://avatars.githubusercontent.com/u/628508?v=4)](https://github.com/realityking "realityking (3 commits)")[![PhilETaylor](https://avatars.githubusercontent.com/u/400092?v=4)](https://github.com/PhilETaylor "PhilETaylor (2 commits)")[![vess](https://avatars.githubusercontent.com/u/1426374?v=4)](https://github.com/vess "vess (2 commits)")[![heelc29](https://avatars.githubusercontent.com/u/66922325?v=4)](https://github.com/heelc29 "heelc29 (1 commits)")[![elkuku](https://avatars.githubusercontent.com/u/33978?v=4)](https://github.com/elkuku "elkuku (1 commits)")[![rdeutz](https://avatars.githubusercontent.com/u/467356?v=4)](https://github.com/rdeutz "rdeutz (1 commits)")[![andrepereiradasilva](https://avatars.githubusercontent.com/u/9630530?v=4)](https://github.com/andrepereiradasilva "andrepereiradasilva (1 commits)")

---

Tags

filterjoomlajoomla-frameworkphpvalidationframeworkfilterjoomla

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[joomla/application

Joomla Application Package

23404.8k11](/packages/joomla-application)[joomla/registry

Joomla Registry Package

16468.6k20](/packages/joomla-registry)[joomla/filesystem

Joomla Filesystem Package

12369.7k7](/packages/joomla-filesystem)[joomla/oauth2

Joomla OAuth2 Package

10303.1k2](/packages/joomla-oauth2)[joomla/router

Joomla Router Package

10285.4k1](/packages/joomla-router)

PHPackages © 2026

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