PHPackages                             nedarta/yii2-clean-html-behavior - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. nedarta/yii2-clean-html-behavior

ActiveYii2-extension[Validation &amp; Sanitization](/categories/validation)

nedarta/yii2-clean-html-behavior
================================

A Yii2 behavior to clean and sanitize HTML content in ActiveRecord attributes.

1.0.3.2(6mo ago)117MIT

Since Feb 6Compare

[ Source](https://github.com/nedarta/yii2-clean-html-behavior)[ Packagist](https://packagist.org/packages/nedarta/yii2-clean-html-behavior)[ RSS](/packages/nedarta-yii2-clean-html-behavior/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/nedarta/yii2-clean-html-behavior).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance67

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Recently: every ~65 days

Total

6

Last Release

192d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b419e3f062d93e558b33278c937dacbb5367edf84b8d8b134ba1d86d56f185b?d=identicon)[nedarta](/maintainers/nedarta)

---

Top Contributors

[![nedarta](https://avatars.githubusercontent.com/u/16962105?v=4)](https://github.com/nedarta "nedarta (13 commits)")

---

Tags

htmlPurifieryii2Behavior

### Embed Badge

![Health badge](/badges/nedarta-yii2-clean-html-behavior/health.svg)

```
[![Health](https://phpackages.com/badges/nedarta-yii2-clean-html-behavior/health.svg)](https://phpackages.com/packages/nedarta-yii2-clean-html-behavior)
```

###  Alternatives

[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[symfony/html-sanitizer

Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.

27932.2M63](/packages/symfony-html-sanitizer)[xemlock/htmlpurifier-html5

HTML5 support for HTML Purifier

1052.9M11](/packages/xemlock-htmlpurifier-html5)[paulzi/yii2-json-behavior

Yii2 json attribute behavior

76528.6k3](/packages/paulzi-yii2-json-behavior)[borales/yii2-phone-input

Yii2 International telephone numbers - Asset Bundle, Behavior, Validator, Widget

1341.6M6](/packages/borales-yii2-phone-input)[arogachev/yii2-many-to-many

Many-to-many ActiveRecord relation for Yii 2 framework

3541.2k4](/packages/arogachev-yii2-many-to-many)

PHPackages © 2026

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