0

I want to put html purifier into the composer with a specific version 4.11.0

I have tried all methods in the link below (except the last one)

How to install a specific version of package using Composer?

Is there a way to put the specific version of the html purifier in the composer without typing composer require ezyang/htmlpurifier ?

K evin
  • 21
  • 4

1 Answers1

0

Just add the line ...

"require": {
  "[..]": "[..]",
  "ezyang/htmlpurifier": "4.11.0"
}

to your composer.json. Then run:

composer update ezyang/htmlpurifier --with-dependencies
Nicolai Fröhlich
  • 51,330
  • 11
  • 126
  • 130