composer.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "hyperf/contract",
  3. "description": "The contracts of Hyperf.",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "swoole",
  8. "hyperf"
  9. ],
  10. "homepage": "https://hyperf.io",
  11. "support": {
  12. "docs": "https://hyperf.wiki",
  13. "issues": "https://github.com/hyperf/hyperf/issues",
  14. "pull-request": "https://github.com/hyperf/hyperf/pulls",
  15. "source": "https://github.com/hyperf/hyperf"
  16. },
  17. "require": {
  18. "php": ">=7.2"
  19. },
  20. "require-dev": {
  21. "malukenho/docheader": "^0.1.6",
  22. "mockery/mockery": "^1.0",
  23. "phpunit/phpunit": "^7.0.0",
  24. "friendsofphp/php-cs-fixer": "^2.9"
  25. },
  26. "suggest": {
  27. },
  28. "autoload": {
  29. "psr-4": {
  30. "Hyperf\\Contract\\": "src/"
  31. }
  32. },
  33. "autoload-dev": {
  34. "psr-4": {
  35. }
  36. },
  37. "config": {
  38. "sort-packages": true
  39. },
  40. "extra": {
  41. "branch-alias": {
  42. "dev-master": "2.0-dev"
  43. },
  44. "hyperf": {
  45. }
  46. },
  47. "bin": [
  48. ],
  49. "scripts": {
  50. "cs-fix": "php-cs-fixer fix $1",
  51. "test": "phpunit --colors=always"
  52. }
  53. }