composer.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "zendframework/zend-eventmanager",
  3. "description": "Trigger and listen to events within a PHP application",
  4. "license": "BSD-3-Clause",
  5. "keywords": [
  6. "zf2",
  7. "event",
  8. "events",
  9. "eventmanager"
  10. ],
  11. "homepage": "https://github.com/zendframework/zend-eventmanager",
  12. "minimum-stability": "dev",
  13. "prefer-stable": true,
  14. "extra": {
  15. "branch-alias": {
  16. "dev-master": "3.2-dev",
  17. "dev-develop": "3.3-dev"
  18. }
  19. },
  20. "autoload": {
  21. "psr-4": {
  22. "Zend\\EventManager\\": "src/"
  23. }
  24. },
  25. "autoload-dev": {
  26. "psr-4": {
  27. "ZendTest\\EventManager\\": "test/",
  28. "ZendBench\\EventManager\\": "benchmarks/"
  29. },
  30. "files": [
  31. "test/_autoload.php"
  32. ]
  33. },
  34. "require": {
  35. "php": "^5.6 || ^7.0"
  36. },
  37. "require-dev": {
  38. "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2",
  39. "athletic/athletic": "^0.1",
  40. "zendframework/zend-stdlib": "^2.7.3 || ^3.0",
  41. "container-interop/container-interop": "^1.1.0",
  42. "zendframework/zend-coding-standard": "~1.0.0"
  43. },
  44. "suggest": {
  45. "container-interop/container-interop": "^1.1.0, to use the lazy listeners feature",
  46. "zendframework/zend-stdlib": "^2.7.3 || ^3.0, to use the FilterChain feature"
  47. },
  48. "scripts": {
  49. "check": [
  50. "@cs-check",
  51. "@test"
  52. ],
  53. "cs-check": "phpcs",
  54. "cs-fix": "phpcbf",
  55. "test": "phpunit --colors=always",
  56. "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
  57. }
  58. }