Skip to content

Installation

phil/content-warnings
RequirementVersionWhy
PHP8.5 or laterThe floor the library declares and is tested on
ext-jsonanyCatalogue definitions in JSON files
ext-mbstringanyLabels and notes measured in characters
composer require phil/content-warnings

The library declares no service and reads no configuration: an application builds its catalogue once, keeps it, and passes it where warnings are matched. In a Symfony application, phil/content-warnings-bundle does that from its configuration.