| Recommend this page to a friend! | 
|  Download | 
| Info | Example |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not enough user ratings | Total: 98 | All time:  9,836 This week: 47  | ||||
| Version | License | PHP version | Categories | |||
| html-sanitizer 1.0.0 | MIT/X Consortium ... | 7 | HTML, PHP 5, Security | 
| Description | Author | |
| This package can parse and clean HTML code to keep only secure tags. | 
| 
<?php | 
|  Files (12) | 
| File | Role | Description | ||
|---|---|---|---|---|
|  bench (2 files) | ||||
|  src (4 files) | ||||
|  tests (1 file) | ||||
|  usage (2 files) | ||||
|    composer.json | Data | Auxiliary data | ||
|    composer.lock | Data | Auxiliary data | ||
|    phpunit.xml | Data | Auxiliary data | ||
|  Files (12) | / | bench | 
| File | Role | Description | 
|---|---|---|
|    payload.html | Doc. | Documentation | 
|    run.php | Example | Example script | 
|  Files (12) | / | src | 
| File | Role | Description | 
|---|---|---|
|  BasicWhitelist.php | Class | Class source | 
|  HtmlDataMap.php | Class | Class source | 
|  Sanitizer.php | Class | Class source | 
|  Whitelist.php | Class | Class source | 
|  Files (12) | / | usage | 
| File | Role | Description | 
|---|---|---|
|    payload.txt | Data | Test HTML data file | 
|    usage.php | Example | Example script | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
|  Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
 | 
 | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.