composer.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "spiral/goridge",
  3. "type": "goridge",
  4. "description": "High-performance PHP-to-Golang RPC bridge",
  5. "license": "MIT",
  6. "authors": [
  7. {
  8. "name": "Anton Titov / Wolfy-J",
  9. "email": "wolfy.jd@gmail.com"
  10. }
  11. ],
  12. "require": {
  13. "php": ">=7.4",
  14. "ext-json": "*",
  15. "ext-sockets": "*",
  16. "symfony/polyfill-php80": "^1.22"
  17. },
  18. "require-dev": {
  19. "vimeo/psalm": "^4.18.1",
  20. "google/protobuf": "^3.17",
  21. "rybakit/msgpack": "^0.7",
  22. "phpunit/phpunit": "^9.5",
  23. "jetbrains/phpstorm-attributes": "^1.0",
  24. "infection/infection": "^0.26.1"
  25. },
  26. "autoload": {
  27. "psr-4": {
  28. "Spiral\\Goridge\\": "src"
  29. }
  30. },
  31. "autoload-dev": {
  32. "psr-4": {
  33. "Spiral\\Goridge\\Tests\\": "tests/Goridge"
  34. }
  35. },
  36. "suggest": {
  37. "ext-msgpack": "MessagePack codec support",
  38. "ext-protobuf": "Protobuf codec support",
  39. "rybakit/msgpack": "(^0.7) MessagePack codec support",
  40. "google/protobuf": "(^3.0) Protobuf codec support"
  41. },
  42. "scripts": {
  43. "test": "phpunit --no-coverage --colors=always",
  44. "test-cover": "phpunit --coverage-clover=coverage.xml",
  45. "test-static": "psalm",
  46. "test-mutations": "infection"
  47. },
  48. "extra": {
  49. "branch-alias": {
  50. "dev-master": "3.3.x-dev"
  51. }
  52. },
  53. "minimum-stability": "dev",
  54. "prefer-stable": true,
  55. "config": {
  56. "allow-plugins": {
  57. "infection/extension-installer": true,
  58. "composer/package-versions-deprecated": true
  59. }
  60. }
  61. }