I have an older version of HTML Purifer and I’m having difficulty finding information on how to upgrade the version to 4.14.
Does anyone have any guide on how to do this? I found some steps that was for newer users. So I conducted the following steps for new users but will this work the same for users who is currently using HTML Purifier but is just trying to update the file? The steps I found are as follows:
Updating the composer.json and adding "ezyang/htmlpurifier":"4.11.0" to the require property
Then running composer ezyang/htmlpurifier --with-dependencies
Any advice would be helpful.
If you manually edit
composer.json, you should then be able to simply runcomposer update. Alternatively, you you could runcomposer require ezyang/htmlpurifier:4.11.0 --with-all-dependenciesto force an upgrade.One or the other:
composer.jsonand runcomposer update.composer require ezyang/htmlpurifier:4.11.0 --with-all-dependencies.There should be no need to do both.