composer.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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-release-1.8": "1.8.x-dev"
  22. }
  23. },
  24. "require": {
  25. "php": "^5.6 || ^7.0",
  26. "psr/http-message": "^1.0"
  27. },
  28. "require-dev": {
  29. "ext-dom": "*",
  30. "ext-libxml": "*",
  31. "php-http/psr7-integration-tests": "dev-master",
  32. "phpunit/phpunit": "^5.7.16 || ^6.0.8 || ^7.2.7",
  33. "zendframework/zend-coding-standard": "~1.0"
  34. },
  35. "provide": {
  36. "psr/http-message-implementation": "1.0"
  37. },
  38. "autoload": {
  39. "files": [
  40. "src/functions/create_uploaded_file.php",
  41. "src/functions/marshal_headers_from_sapi.php",
  42. "src/functions/marshal_method_from_sapi.php",
  43. "src/functions/marshal_protocol_version_from_sapi.php",
  44. "src/functions/marshal_uri_from_sapi.php",
  45. "src/functions/normalize_server.php",
  46. "src/functions/normalize_uploaded_files.php",
  47. "src/functions/parse_cookie_header.php"
  48. ],
  49. "psr-4": {
  50. "Zend\\Diactoros\\": "src/"
  51. }
  52. },
  53. "autoload-dev": {
  54. "psr-4": {
  55. "ZendTest\\Diactoros\\": "test/"
  56. },
  57. "files": [
  58. "test/TestAsset/Functions.php",
  59. "test/TestAsset/SapiResponse.php"
  60. ]
  61. },
  62. "scripts": {
  63. "check": [
  64. "@cs-check",
  65. "@test"
  66. ],
  67. "cs-check": "phpcs",
  68. "cs-fix": "phpcbf",
  69. "test": "phpunit --colors=always",
  70. "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
  71. }
  72. }