PHPackages                             trylife/yii2-xss - 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. [Security](/categories/security)
4. /
5. trylife/yii2-xss

ActiveLibrary[Security](/categories/security)

trylife/yii2-xss
================

yii2 xss filter

0.1.10(9y ago)1531MITPHP

Since Sep 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/trylife/yii2-xss)[ Packagist](https://packagist.org/packages/trylife/yii2-xss)[ RSS](/packages/trylife-yii2-xss/feed)WikiDiscussions master Synced 3w ago

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

yii2 xss
========

[](#yii2-xss)

yii2 xss filter

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist trylife/yii2-xss "*"

```

or add

```
"trylife/yii2-xss": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

Total

6

Last Release

3561d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31e645bb4fa72888a15a5b52125218e10560fe3d03d407408d03ee201df4cbd1?d=identicon)[trylife](/maintainers/trylife)

---

Top Contributors

[![trylife](https://avatars.githubusercontent.com/u/8101926?v=4)](https://github.com/trylife "trylife (7 commits)")

---

Tags

yii2xsstrylifeyii2-xss

### Embed Badge

![Health badge](/badges/trylife-yii2-xss/health.svg)

```
[![Health](https://phpackages.com/badges/trylife-yii2-xss/health.svg)](https://phpackages.com/packages/trylife-yii2-xss)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)

PHPackages © 2026

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