composer.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "hyperf/engine",
  3. "type": "library",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "hyperf"
  8. ],
  9. "description": "",
  10. "autoload": {
  11. "psr-4": {
  12. "Hyperf\\Engine\\": "src/"
  13. }
  14. },
  15. "autoload-dev": {
  16. "psr-4": {
  17. "HyperfTest\\": "tests"
  18. }
  19. },
  20. "require": {
  21. "php": ">=7.4"
  22. },
  23. "require-dev": {
  24. "friendsofphp/php-cs-fixer": "^3.0",
  25. "hyperf/guzzle": "^2.2",
  26. "phpstan/phpstan": "^1.0",
  27. "phpunit/phpunit": "^9.4",
  28. "swoole/ide-helper": "dev-master"
  29. },
  30. "suggest": {
  31. "ext-swoole": ">=4.5"
  32. },
  33. "minimum-stability": "dev",
  34. "prefer-stable": true,
  35. "config": {
  36. "optimize-autoloader": true,
  37. "sort-packages": true
  38. },
  39. "extra": {
  40. "branch-alias": {
  41. "dev-master": "1.2-dev"
  42. }
  43. },
  44. "scripts": {
  45. "test": "phpunit -c phpunit.xml --colors=always",
  46. "analyse": "phpstan analyse --memory-limit 1024M -l 0 ./src",
  47. "cs-fix": "php-cs-fixer fix $1"
  48. }
  49. }