composer.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "sabre/xml",
  3. "description" : "sabre/xml is an XML library that you may not hate.",
  4. "keywords" : [ "XML", "XMLReader", "XMLWriter", "DOM" ],
  5. "homepage" : "https://sabre.io/xml/",
  6. "license" : "BSD-3-Clause",
  7. "require" : {
  8. "php" : "^7.1 || ^8.0",
  9. "ext-xmlwriter" : "*",
  10. "ext-xmlreader" : "*",
  11. "ext-dom" : "*",
  12. "lib-libxml" : ">=2.6.20",
  13. "sabre/uri" : ">=1.0,<3.0.0"
  14. },
  15. "authors" : [
  16. {
  17. "name" : "Evert Pot",
  18. "email" : "me@evertpot.com",
  19. "homepage" : "http://evertpot.com/",
  20. "role" : "Developer"
  21. },
  22. {
  23. "name": "Markus Staab",
  24. "email": "markus.staab@redaxo.de",
  25. "role" : "Developer"
  26. }
  27. ],
  28. "support" : {
  29. "forum" : "https://groups.google.com/group/sabredav-discuss",
  30. "source" : "https://github.com/fruux/sabre-xml"
  31. },
  32. "autoload" : {
  33. "psr-4" : {
  34. "Sabre\\Xml\\" : "lib/"
  35. },
  36. "files": [
  37. "lib/Deserializer/functions.php",
  38. "lib/Serializer/functions.php"
  39. ]
  40. },
  41. "autoload-dev" : {
  42. "psr-4" : {
  43. "Sabre\\Xml\\" : "tests/Sabre/Xml/"
  44. }
  45. },
  46. "require-dev": {
  47. "friendsofphp/php-cs-fixer": "~2.17.1||3.63.2",
  48. "phpstan/phpstan": "^0.12",
  49. "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6"
  50. },
  51. "scripts": {
  52. "phpstan": [
  53. "phpstan analyse lib tests"
  54. ],
  55. "cs-fixer": [
  56. "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix"
  57. ],
  58. "phpunit": [
  59. "phpunit --configuration tests/phpunit.xml"
  60. ],
  61. "test": [
  62. "composer phpstan",
  63. "composer cs-fixer",
  64. "composer phpunit"
  65. ]
  66. }
  67. }