Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Html Sanitizer Laravel Package

typo3/html-sanitizer

Standards-based HTML sanitizer for PHP with safe, configurable cleaning of untrusted markup. Remove dangerous tags/attributes, normalize output, and allow whitelisting policies for links, images, and formatting—ideal for user content, CMS, and APIs.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables build vs. buy decision by eliminating custom sanitization logic, reducing technical debt and security risks
  • Prioritizes roadmap items for user-generated content features (e.g., comments, rich-text editors) with built-in OWASP-compliant XSS protection
  • Supports CMS integrations by providing context-aware policies (e.g., blog posts vs. forum comments) without reinventing security controls
  • Accelerates compliance with data protection regulations (e.g., GDPR, PCI-DSS) through auditable, configurable allowlist rules

When to Consider This Package

  • Adopt when your PHP application processes untrusted HTML (e.g., user-submitted content, CMS authoring tools) and requires **strict
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4