PHPackages                             rokety/php-simple-html-purify - 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. rokety/php-simple-html-purify

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

rokety/php-simple-html-purify
=============================

Another htmlpurify for php. It is simple to use.

1.1(9y ago)21.6kMITPHP

Since Nov 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/yangxikun/php-simple-html-purify)[ Packagist](https://packagist.org/packages/rokety/php-simple-html-purify)[ RSS](/packages/rokety-php-simple-html-purify/feed)WikiDiscussions master Synced today

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

php-simple-html-purify
======================

[](#php-simple-html-purify)

A php simple html purify. This library doesn't apply any HTML specification. You should configure all rules by yourself.

### install

[](#install)

`composer require rokety/php-simple-html-purify`

### How it works

[](#how-it-works)

```
                 +-----------+
                 | dirtyHtml |
                 +-----+-----+
                       |
  +------------------> |
