composer.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "zendframework/zend-diactoros",
  3. "description": "PSR HTTP Message implementations",
  4. "type": "library",
  5. "license": "BSD-2-Clause",
  6. "keywords": [
  7. "http",
  8. "psr",
  9. "psr-7"
  10. ],
  11. "homepage": "https://github.com/zendframework/zend-diactoros",
  12. "support": {
  13. "issues": "https://github.com/zendframework/zend-diactoros/issues",
  14. "source": "https://github.com/zendframework/zend-diactoros"
  15. },
  16. "config": {
  17. "sort-packages": true
  18. },
  19. "extra": {
  20. "branch-alias": {
  21. "dev-master": "1.8.x-dev",
  22. "dev-develop": "1.9.x-dev",
  23. "dev-release-2.0": "2.0.x-dev"
  24. }
  25. },
  26. "require": {
  27. "php": "^5.6 || ^7.0",
  28. "psr/http-message": "^1.0"
  29. },
  30. "require-dev": {
  31. "ext-dom": "*",
  32. "ext-libxml": "*",
  33. "php-http/psr7-integration-tests": "dev-master",
  34. "phpunit/phpunit": "^5.7.16 || ^6.0.8 || ^7.2.7",
  35. "zendframework/zend-coding-standard": "~1.0"
  36. },
  37. "provide": {
  38. "psr/http-message-implementation": "1.0"
  39. },
  40. "autoload": {
  41. "files": [
  42. "src/functions/create_uploaded_file.php",
  43. "src/functions/marshal_headers_from_sapi.php",
  44. "src/functions/marshal_method_from_sapi.php",
  45. "src/functions/marshal_protocol_version_from_sapi.php",
  46. "src/functions/marshal_uri_from_sapi.php",
  47. "src/functions/normalize_server.php",
  48. "src/functions/normalize_uploaded_files.php",
  49. "src/functions/parse_cookie_header.php"
  50. ],
  51. "psr-4": {
  52. "Zend\\Diactoros\\": "src/"
  53. }
  54. },
  55. "autoload-dev": {
  56. "psr-4": {
  57. "ZendTest\\Diactoros\\": "test/"
  58. },
  59. "files": [
  60. "test/TestAsset/Functions.php",
  61. "test/TestAsset/SapiResponse.php"
  62. ]
  63. },
  64. "scripts": {
  65. "check": [
  66. "@cs-check",
  67. "@test"
  68. ],
  69. "cs-check": "phpcs",
  70. "cs-fix": "phpcbf",
  71. "test": "phpunit --colors=always",
  72. "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
  73. }
  74. }