composer.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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": ">=8.0"
  22. },
  23. "require-dev": {
  24. "friendsofphp/php-cs-fixer": "^3.0",
  25. "hyperf/guzzle": "^2.2",
  26. "hyperf/http-message": " ^2.0",
  27. "phpstan/phpstan": "^1.0",
  28. "phpunit/phpunit": "^9.4",
  29. "swoole/ide-helper": "dev-master"
  30. },
  31. "suggest": {
  32. "ext-swoole": ">=4.5"
  33. },
  34. "minimum-stability": "dev",
  35. "prefer-stable": true,
  36. "config": {
  37. "optimize-autoloader": true,
  38. "sort-packages": true
  39. },
  40. "extra": {
  41. "branch-alias": {
  42. "dev-master": "1.10-dev"
  43. },
  44. "hyperf": {
  45. "config": "Hyperf\\Engine\\ConfigProvider"
  46. }
  47. },
  48. "scripts": {
  49. "test": "phpunit -c phpunit.xml --colors=always",
  50. "analyse": "phpstan analyse --memory-limit 1024M -l 0 ./src",
  51. "cs-fix": "php-cs-fixer fix $1"
  52. }
  53. }