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

symfony/html-sanitizer

Object-oriented HTML sanitizer for PHP/Symfony. Safely cleans untrusted HTML for DOM insertion with configurable allow/block/drop rules, attribute policies, forced values, and URL controls (HTTPS and scheme/host allowlists). Removes scripts and unsafe behaviors.

View on GitHub
Deep Wiki
Context7
v8.0.8
v7.4.8
v8.0.7

Changelog (https://github.com/symfony/html-sanitizer/compare/v8.0.6...v8.0.7)

  • bug #63598 Add 'sms' to hostless schemes (@hivokas)
v7.4.7

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.4.6...v7.4.7)

  • bug #63598 Add 'sms' to hostless schemes (@hivokas)
v6.4.35

Changelog (https://github.com/symfony/html-sanitizer/compare/v6.4.34...v6.4.35)

  • bug #63598 Add 'sms' to hostless schemes (@hivokas)
v7.3.6

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.3.5...v7.3.6)

  • bug symfony/symfony#62201 [HtmlSanitizer] Remove srcdoc from allowed attributes (@Spomky)
v6.4.28

Changelog (https://github.com/symfony/html-sanitizer/compare/v6.4.27...v6.4.28)

  • bug symfony/symfony#62201 [HtmlSanitizer] Remove srcdoc from allowed attributes (@Spomky)
v8.0.0-BETA2

Changelog (https://github.com/symfony/html-sanitizer/compare/v8.0.0-BETA1...v8.0.0-BETA2)

  • bug symfony/symfony#62201 [HtmlSanitizer] Remove srcdoc from allowed attributes (@Spomky)
v7.4.0-BETA2

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.4.0-BETA1...v7.4.0-BETA2)

  • bug symfony/symfony#62201 [HtmlSanitizer] Remove srcdoc from allowed attributes (@Spomky)
v8.0.0-BETA1

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.3.4...v8.0.0-BETA1)

  • feature symfony/symfony#61391 [HtmlSanitizer] Remove MastermindsParser and add $context arg to ParserInterface::parse() (@nicolas-grekas)
  • feature symfony/symfony#61366 [HtmlSanitizer] Use the native HTML5 parser when using PHP 8.4+ (@nicolas-grekas)
  • feature symfony/symfony#60639 Bump Symfony 8 to PHP >= 8.4 (@nicolas-grekas)
v7.4.0-BETA1

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.3.4...v7.4.0-BETA1)

  • feature symfony/symfony#61366 [HtmlSanitizer] Use the native HTML5 parser when using PHP 8.4+ (@nicolas-grekas)
v7.3.3

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.3.2...v7.3.3)

  • bug symfony/symfony#58547 [HtmlSanitizer] Fix force_attributes not replacing existing attribute in initial data (@tgalopin)
v6.4.25

Changelog (https://github.com/symfony/html-sanitizer/compare/v6.4.24...v6.4.25)

  • bug symfony/symfony#58547 [HtmlSanitizer] Fix force_attributes not replacing existing attribute in initial data (@tgalopin)
v7.3.2
v7.2.9
v6.4.24
v7.3.0-BETA1
v7.2.6
v6.4.21
v7.2.3

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.2.2...v7.2.3)

  • bug symfony/symfony#59525 [HtmlSanitizer] Fix access to undefined keys in UrlSanitizer (Antoine Beyet)
v7.1.11

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.1.10...v7.1.11)

  • bug symfony/symfony#59525 [HtmlSanitizer] Fix access to undefined keys in UrlSanitizer (Antoine Beyet)
v6.4.18

Changelog (https://github.com/symfony/html-sanitizer/compare/v6.4.17...v6.4.18)

  • bug symfony/symfony#59525 [HtmlSanitizer] Fix access to undefined keys in UrlSanitizer (Antoine Beyet)
v7.2.2

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.2.1...v7.2.2)

  • bug symfony/symfony#59321 [HtmlSanitizer] reject URLs containing whitespaces (@xabbuh)
v7.1.10

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.1.9...v7.1.10)

  • bug symfony/symfony#59321 [HtmlSanitizer] reject URLs containing whitespaces (@xabbuh)
v6.4.17

Changelog (https://github.com/symfony/html-sanitizer/compare/v6.4.16...v6.4.17)

  • bug symfony/symfony#59321 [HtmlSanitizer] reject URLs containing whitespaces (@xabbuh)
v7.2.0-BETA1

Changelog (https://github.com/symfony/html-sanitizer/compare/v7.1.6...v7.2.0-BETA1)

  • feature symfony/symfony#57399 [HtmlSanitizer] Add support for configuring the default action (@Seldaek)
v7.1.6
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
milesj/emojibase
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