composer.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "hyperf/engine-contract",
  3. "type": "library",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "hyperf",
  8. "coroutine",
  9. "contract",
  10. "engine"
  11. ],
  12. "description": "Contract for Coroutine Engine",
  13. "autoload": {
  14. "psr-4": {
  15. "Hyperf\\Engine\\Contract\\": "src/"
  16. }
  17. },
  18. "autoload-dev": {
  19. "psr-4": {
  20. "HyperfTest\\": "tests"
  21. }
  22. },
  23. "require": {
  24. "php": ">=8.0"
  25. },
  26. "require-dev": {
  27. "friendsofphp/php-cs-fixer": "^3.0",
  28. "mockery/mockery": "^1.0",
  29. "phpstan/phpstan": "^1.0",
  30. "phpunit/phpunit": ">=7.0",
  31. "psr/http-message": "^1.0",
  32. "swoole/ide-helper": "^4.5"
  33. },
  34. "suggest": {
  35. "psr/http-message": "Required to use WebSocket Frame."
  36. },
  37. "minimum-stability": "dev",
  38. "prefer-stable": true,
  39. "config": {
  40. "optimize-autoloader": true,
  41. "sort-packages": true
  42. },
  43. "extra": {
  44. "branch-alias": {
  45. "dev-master": "1.9-dev"
  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. }