composer.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "laminas/laminas-code",
  3. "description": "Extensions to the PHP Reflection API, static code scanning, and code generation",
  4. "license": "BSD-3-Clause",
  5. "keywords": [
  6. "laminas",
  7. "laminasframework",
  8. "code"
  9. ],
  10. "homepage": "https://laminas.dev",
  11. "support": {
  12. "docs": "https://docs.laminas.dev/laminas-code/",
  13. "issues": "https://github.com/laminas/laminas-code/issues",
  14. "source": "https://github.com/laminas/laminas-code",
  15. "rss": "https://github.com/laminas/laminas-code/releases.atom",
  16. "chat": "https://laminas.dev/chat",
  17. "forum": "https://discourse.laminas.dev"
  18. },
  19. "config": {
  20. "sort-packages": true
  21. },
  22. "require": {
  23. "php": "^7.4 || ~8.0.0",
  24. "laminas/laminas-eventmanager": "^3.3"
  25. },
  26. "require-dev": {
  27. "ext-phar": "*",
  28. "doctrine/annotations": "^1.10.4",
  29. "laminas/laminas-coding-standard": "^2.1.4",
  30. "laminas/laminas-stdlib": "^3.3.0",
  31. "phpunit/phpunit": "^9.4.2",
  32. "psalm/plugin-phpunit": "^0.14.0",
  33. "vimeo/psalm": "^4.3.1"
  34. },
  35. "conflict": {
  36. "phpspec/prophecy": "<1.9.0"
  37. },
  38. "suggest": {
  39. "doctrine/annotations": "Doctrine\\Common\\Annotations >=1.0 for annotation features",
  40. "laminas/laminas-stdlib": "Laminas\\Stdlib component",
  41. "laminas/laminas-zendframework-bridge": "A bridge with Zend Framework"
  42. },
  43. "autoload": {
  44. "psr-4": {
  45. "Laminas\\Code\\": "src/"
  46. }
  47. },
  48. "autoload-dev": {
  49. "psr-4": {
  50. "LaminasTest\\Code\\": "test/"
  51. }
  52. },
  53. "scripts": {
  54. "check": [
  55. "@cs-check",
  56. "@test"
  57. ],
  58. "cs-check": "phpcs",
  59. "cs-fix": "phpcbf",
  60. "test": "phpunit --colors=always",
  61. "test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
  62. "static-analysis": "psalm --shepherd --stats"
  63. },
  64. "replace": {
  65. "zendframework/zend-code": "self.version"
  66. }
  67. }