NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1521 most downloaded on Packagist
HTMLPurifier integration for your Symfony project
Latest stable
4.1.2
Last release 1 years ago
10 Nov 2025
Release timing varies
gaps range from 5 weeks to 1.5 years
Most releases are documented
notes for 21 of 26 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
28 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
minor: add .gitattributes to exclude files from dist #99 ( @dmaicher )
fix issue with overwriting default config on default profile ( @dmaicher )
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Added support for PHP 8 (@pierres)
#77 Allowed null in Twig function
#77 Allowed null in Twig function
[Bug] #75 Replace eval by require_once in ForwardCompatTypeExtensionTrait (@l-vo)
Fixing bugs: - #67 Fixed trimming empty values - #69 Fixed low and high deps compatibility Minor changes: - #68 Added a CHANGELOG and fixed the README
Fixing bugs:
Minor changes:
PR - https://github.com/Exercise/HTMLPurifierBundle/pull/61 by @mpiot
PR - https://github.com/Exercise/HTMLPurifierBundle/pull/61 by @mpiot
Nothing published for this version
Thanks to @sweoggy fixed issue https://github.com/Exercise/HTMLPurifierBundle/pull/53
Thanks to @sweoggy fixed issue https://github.com/Exercise/HTMLPurifierBundle/pull/53
Composer version update See https://github.com/Exercise/HTMLPurifierBundle/issues/54#issuecomment-416011264
Composer version update See https://github.com/Exercise/HTMLPurifierBundle/issues/54#issuecomment-416011264
Added compatibility for Symfony 5 and Twig 3
HTMLPurifierTextTypeExtension to add purify_html and
purify_html_profile options to all TextType children.HTMLPurifierListener to purify submitted form data.HTMLPurifiersRegistryInterface to lazy load purifiers by profile.HTMLPurifierRuntime to lazy load purifiers in templates.\HTMLPurifier classes as custom profiles using
a new exercise.html_purifier tag.Fixed SerializerCacheWarmer service definition
Fixed SerializerCacheWarmer service definition (#55)
Merge https://github.com/Exercise/HTMLPurifierBundle/pull/46:
Merge https://github.com/Exercise/HTMLPurifierBundle/pull/46:
Nothing published for this version
@alister Fixed Permissions issue when clearing cache, see - https://github.com/Exercise/HTMLPurifierBundle/pull/37
@alister Fixed Permissions issue when clearing cache, see - https://github.com/Exercise/HTMLPurifierBundle/pull/37
Nothing published for this version
https://github.com/Exercise/HTMLPurifierBundle/pull/29
https://github.com/Exercise/HTMLPurifierBundle/pull/29
https://github.com/Exercise/HTMLPurifierBundle/pull/30
https://github.com/Exercise/HTMLPurifierBundle/pull/30
Nothing published for this version
Nothing published for this version
Drops support for Symfony 4.x and requires Symfony 5.4
See #102.
[BC break] Dropped support for PHP 5.x. PHP 7.1 minimum required.
PR #52
HTMLPurifierConfigFactory to handle cache properly and to
build custom html definition from bundle configuration.SerializerCacheWarmer to preload each profile configuration[BC break] Dropped support for PHP 5.x. PHP 7.1 minimum required.
PR #52
HTMLPurifierConfigFactory to handle cache properly and to build custom html definition from bundle semantic configuration.SerializerCacheWarmer to preload each profile configurationAdd support for Symfony 8 ( #112 @dmaicher )
#107 (thanks @Evgeny1973 )
See BETA1 changelog .
Add support of the Cache.SerializerPermissions for default profile ( @OxCom )
Add support of the Cache.SerializerPermissions for default profile (@OxCom)
Add support for Symfony 6 Drop support for Symfony < 4.4
One column per quarter.