rhukster/dom-sanitizer
MIT-licensed PHP 7.3+ DOM/SVG/MathML sanitizer using DOMDocument and DOMPurify-based allowlists. Remove dangerous tags/attributes, strip namespaces and PHP/HTML/XML tags, and optionally compress output. Supports HTML, SVG, and MathML modes.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| webpatser/laravel-sanitize | 0.89 | — | 7 | 8 | 2 | 127 | 0 | 0.0 | 12.0 | — | — | |
| symfony/html-sanitizer | 0.88 | Symfony HtmlSanitizer provides an object-oriented API to sanitize untrusted HTML before inserting it into the DOM. Configure allowed/blocked tags and attributes, drop or keep children, force attribute values, enforce HTTPS, and restrict link schemes/hosts to prevent XSS and unsafe behavior. | 280 | 282 | 13 | 3M | 0 | 35.3 | 65.0 | MIT | 1 week ago | |
| typo3/html-sanitizer | 0.86 | Standalone PHP HTML sanitizer from TYPO3. Define sanitizing rules via Behavior, apply multiple Visitors, and run through a Sanitizer built from reusable presets. Supports safe tag/attribute allowlists, value validation (e.g., regex), and encoding or removing invalid nodes. | 28 | 28 | 15 | 305K | 6 | 30.4 | 66.1 | MIT | 1 month ago | |
| symplify/coding-standard | 0.68 | Ready-to-use PHP CS Fixer and PHP_CodeSniffer rules bundled as a coding standard, with Symplify tooling integration. Helps keep projects consistent, modern, and clean with configurable rule sets suited for CI and team workflows. | 381 | 382 | 26 | 87K | 0 | 3.5 | 32.3 | MIT | 1 year ago | |
| sinnbeck/laravel-dom-assertions | 0.65 | Add fluent, expressive DOM assertions to your Laravel test suite. Parse HTML responses and assert elements, attributes, text, and structure with readable APIs—making feature and browser-style tests clearer and less brittle. | 106 | 106 | 10 | 15K | 0 | 29.6 | 34.8 | MIT | 2 weeks ago | |
| vincentlanglet/twig-cs-fixer | 0.64 | A coding standards fixer for Twig templates. Analyze and automatically format Twig files with consistent style rules, configurable presets, and CI-friendly checks to keep templates clean and readable across your project. | 341 | 339 | 36 | 543K | 6 | 28.3 | 51.5 | MIT | 3 months ago | |
| worksome/coding-style | 0.64 | Worksome’s shared PHP coding style package. Generates ready-to-use configs for Easy Coding Standard (ECS), PHPStan, and Rector, extending PSR-12 with additional and customized rules. Install via Composer, generate stubs, and run via composer scripts. | 49 | 49 | 4 | 15K | 0 | 23.7 | 38.5 | MIT | 3 months ago | |
| yiisoft/code-style | 0.63 | Coding style and quality tools for PHP projects from Yii. Provides configuration and presets to keep code formatting consistent and enforce standards across your repository, helping teams maintain clean, readable code with automated checks. | 3 | 3 | 2 | 5K | 0 | 13.3 | 47.5 | BSD-3-Clause | 4 months ago | |
| friendsofphp/php-cs-fixer | 0.63 | PHP CS Fixer automatically fixes PHP code to match coding standards. Use built-in rule sets (PER-CS, Symfony, PhpCsFixer) or custom config to unify style, modernize PHP/PHPUnit code, and apply safe or risky migrations. Supports PHP 7.4–8.5. | 13,520 | 13,609 | 1,635 | 5M | 44 | 86.2 | 72.3 | MIT | 3 weeks ago | |
| kubawerlos/php-cs-fixer-custom-fixers | 0.63 | Custom fixers for FriendsOfPHP PHP-CS-Fixer. Install via Composer, register the Fixers set, then enable individual rules to enforce additional style conventions (e.g., prefer class constants, remove leading global namespace slashes, tidy PHPDoc params). | 240 | 241 | 25 | 341K | 4 | 32.0 | 51.6 | MIT | 3 weeks ago | |
| wayofdev/cs-fixer-config | 0.63 | — | 5 | 5 | 0 | 2K | 1 | 10.2 | 38.2 | MIT | 1 year ago | |
| fabpot/php-cs-fixer | 0.63 | PHP CS Fixer is a command-line tool for automatically fixing PHP coding standards issues. It formats and modernizes code using configurable rulesets, supports custom rule configurations, and helps keep projects consistent and clean across teams and CI. | 13,520 | 13,538 | 1,634 | 21K | 44 | 85.5 | 39.5 | MIT | 3 weeks ago |
How can I help you explore Laravel packages today?