composer.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "topthink/think-swoole",
  3. "description": "Swoole extend for thinkphp",
  4. "license": "Apache-2.0",
  5. "authors": [
  6. {
  7. "name": "liu21st",
  8. "email": "liu21st@gmail.com"
  9. }
  10. ],
  11. "require": {
  12. "php": ">7.1",
  13. "ext-json": "*",
  14. "ext-swoole": ">=4.4.8",
  15. "nette/php-generator": "^3.2",
  16. "open-smf/connection-pool": "~1.0",
  17. "swoole/ide-helper": "^4.3",
  18. "symfony/finder": "^4.3.2|^5.1",
  19. "topthink/framework": "^6.0"
  20. },
  21. "require-dev": {
  22. "symfony/var-dumper": "^4.3|^5.1",
  23. "topthink/think-tracing": "^1.0"
  24. },
  25. "autoload": {
  26. "psr-4": {
  27. "think\\swoole\\": "src"
  28. },
  29. "files": [
  30. "src/helpers.php"
  31. ]
  32. },
  33. "extra": {
  34. "think": {
  35. "services": [
  36. "think\\swoole\\Service"
  37. ],
  38. "config": {
  39. "swoole": "src/config/swoole.php"
  40. }
  41. }
  42. },
  43. "config": {
  44. "preferred-install": "dist",
  45. "sort-packages": true,
  46. "platform-check": false,
  47. "platform": {
  48. "ext-swoole": "4.4.8",
  49. "ext-fileinfo": "1.0.4"
  50. }
  51. }
  52. }