https://github.com/trylife/yii2-xss
yii2 xss filter asset
https://github.com/trylife/yii2-xss
Last synced: about 2 months ago
JSON representation
yii2 xss filter asset
- Host: GitHub
- URL: https://github.com/trylife/yii2-xss
- Owner: trylife
- Created: 2016-09-28T05:55:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-29T03:44:52.000Z (over 9 years ago)
- Last Synced: 2025-08-26T08:22:49.288Z (10 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yii2 xss
========
yii2 xss filter
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
-----
Once the extension is installed, simply use it in your code by :
```php
= \trylife\yii2Xss\XssAsset::register($this); ?>
```