composer.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "zendframework/zend-json",
  3. "description": "provides convenience methods for serializing native PHP to JSON and decoding JSON to native PHP",
  4. "license": "BSD-3-Clause",
  5. "keywords": [
  6. "zf",
  7. "zendframework",
  8. "json"
  9. ],
  10. "support": {
  11. "docs": "https://docs.zendframework.com/zend-json/",
  12. "issues": "https://github.com/zendframework/zend-json/issues",
  13. "source": "https://github.com/zendframework/zend-json",
  14. "rss": "https://github.com/zendframework/zend-json/releases.atom",
  15. "chat": "https://zendframework-slack.herokuapp.com",
  16. "forum": "https://discourse.zendframework.com/c/questions/components"
  17. },
  18. "require": {
  19. "php": "^5.6 || ^7.0"
  20. },
  21. "require-dev": {
  22. "phpunit/phpunit": "^5.7.23 || ^6.4.3",
  23. "zendframework/zend-coding-standard": "~1.0.0",
  24. "zendframework/zend-stdlib": "^2.7.7 || ^3.1"
  25. },
  26. "suggest": {
  27. "zendframework/zend-json-server": "For implementing JSON-RPC servers",
  28. "zendframework/zend-xml2json": "For converting XML documents to JSON"
  29. },
  30. "autoload": {
  31. "psr-4": {
  32. "Zend\\Json\\": "src/"
  33. }
  34. },
  35. "autoload-dev": {
  36. "psr-4": {
  37. "ZendTest\\Json\\": "test/"
  38. }
  39. },
  40. "config": {
  41. "sort-packages": true
  42. },
  43. "extra": {
  44. "branch-alias": {
  45. "dev-master": "3.1.x-dev",
  46. "dev-develop": "3.2.x-dev"
  47. }
  48. },
  49. "scripts": {
  50. "check": [
  51. "@cs-check",
  52. "@test"
  53. ],
  54. "cs-check": "phpcs",
  55. "cs-fix": "phpcbf",
  56. "test": "phpunit --colors=always",
  57. "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
  58. }
  59. }