php - HTML Purifier Symfony2.3 -


i'd add html purifier symfony application, i'm using symfony2.3. found 2 ways have problems on both.

the first 1 directly add html purifier library symfony don't know realy how that, tried find tutorials don't understand.

the second way use bundle: https://github.com/exercise/htmlpurifierbundle don't know how install composer, , think documentation symfony 2.0 no higher.

so have solution install html purifier, don't need twig module given bundle.

thanks help

the bundle has composer.json file, can add requirements:

require: "exercise/htmlpurifier-bundle": "1.0.*@dev" 

if don't need bundle. can add htmlpurifier package:

require: "ezyang/htmlpurifier": "dev-master" 

if see composer.json file in repository on github, can search on packagist:


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -