composer.json 963 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "haozi-team/chatgpt-php",
  3. "description": "Real ChatGPT PHP SDK (Not GPT-3)",
  4. "keywords": [
  5. "chatgpt",
  6. "openai"
  7. ],
  8. "homepage": "https://github.com/HaoZi-Team/ChatGPT-PHP",
  9. "type": "library",
  10. "require": {
  11. "php": ">=7.4",
  12. "guzzlehttp/guzzle": "^7.2",
  13. "ramsey/uuid": "^4.2"
  14. },
  15. "require-dev": {
  16. "pestphp/pest": "^1.22"
  17. },
  18. "license": "MIT",
  19. "autoload": {
  20. "psr-4": {
  21. "HaoZiTeam\\ChatGPT\\": "src/"
  22. }
  23. },
  24. "autoload-dev": {
  25. "psr-4": {
  26. "HaoZiTeam\\ChatGPT\\Tests\\": "tests/"
  27. }
  28. },
  29. "authors": [
  30. {
  31. "name": "耗子",
  32. "email": "i@haozi.net"
  33. }
  34. ],
  35. "scripts": {
  36. "test": "vendor/bin/pest",
  37. "test-coverage": "vendor/bin/pest --coverage",
  38. "format": "vendor/bin/php-cs-fixer fix --allow-risky=yes"
  39. },
  40. "config": {
  41. "allow-plugins": {
  42. "pestphp/pest-plugin": true
  43. },
  44. "platform": {
  45. "php": "7.4"
  46. }
  47. },
  48. "prefer-stable": true
  49. }