composer.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "name": "ezyang/htmlpurifier",
  3. "description": "Standards compliant HTML filter written in PHP",
  4. "type": "library",
  5. "keywords": ["html"],
  6. "homepage": "http://htmlpurifier.org/",
  7. "license": "LGPL-2.1-or-later",
  8. "authors": [
  9. {
  10. "name": "Edward Z. Yang",
  11. "email": "admin@htmlpurifier.org",
  12. "homepage": "http://ezyang.com"
  13. }
  14. ],
  15. "require": {
  16. "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0"
  17. },
  18. "require-dev": {
  19. "cerdic/css-tidy": "^1.7 || ^2.0",
  20. "simpletest/simpletest": "dev-master"
  21. },
  22. "autoload": {
  23. "psr-0": { "HTMLPurifier": "library/" },
  24. "files": ["library/HTMLPurifier.composer.php"],
  25. "exclude-from-classmap": [
  26. "/library/HTMLPurifier/Language/"
  27. ]
  28. },
  29. "suggest": {
  30. "cerdic/css-tidy": "If you want to use the filter 'Filter.ExtractStyleBlocks'.",
  31. "ext-iconv": "Converts text to and from non-UTF-8 encodings",
  32. "ext-bcmath": "Used for unit conversion and imagecrash protection",
  33. "ext-tidy": "Used for pretty-printing HTML"
  34. },
  35. "config": {
  36. "sort-packages": true
  37. },
  38. "repositories": [
  39. {
  40. "type": "vcs",
  41. "url": "https://github.com/ezyang/simpletest.git"
  42. }
  43. ]
  44. }