composer.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "yansongda/artful",
  3. "description": "Artful 是一个简单易用的 API 请求框架 PHP Api RequesT Framwork U Like。",
  4. "keywords": ["artful", "api", "request", "framework"],
  5. "type": "library",
  6. "license": "MIT",
  7. "support": {
  8. "issues": "https://github.com/yansongda/artful/issues",
  9. "source": "https://github.com/yansongda/artful",
  10. "homepage": "https://artful.yansongda.cn"
  11. },
  12. "authors": [
  13. {
  14. "name": "yansongda",
  15. "email": "me@yansongda.cn"
  16. }
  17. ],
  18. "require": {
  19. "php": ">=8.0",
  20. "psr/event-dispatcher": "^1.0",
  21. "psr/log": "^1.1 || ^2.0 || ^3.0",
  22. "psr/container": "^1.1 || ^2.0",
  23. "psr/http-client": "^1.0",
  24. "psr/http-message": "^1.1 || ^2.0",
  25. "yansongda/supports": "~4.0.9",
  26. "guzzlehttp/psr7": "^2.6"
  27. },
  28. "require-dev": {
  29. "phpunit/phpunit": "^9.0",
  30. "mockery/mockery": "^1.4",
  31. "friendsofphp/php-cs-fixer": "^3.44",
  32. "phpstan/phpstan": "^1.0.0",
  33. "monolog/monolog": "^2.2",
  34. "symfony/var-dumper": "^5.1",
  35. "symfony/http-foundation": "^5.2.0",
  36. "symfony/event-dispatcher": "^5.2.0",
  37. "symfony/psr-http-message-bridge": "^2.1",
  38. "hyperf/pimple": "^2.2",
  39. "guzzlehttp/guzzle": "^7.0"
  40. },
  41. "autoload": {
  42. "psr-4": {
  43. "Yansongda\\Artful\\": "src"
  44. },
  45. "files": [
  46. "src/Functions.php"
  47. ]
  48. },
  49. "autoload-dev": {
  50. "psr-4": {
  51. "Yansongda\\Artful\\Tests\\": "tests"
  52. }
  53. },
  54. "suggest": {
  55. "illuminate/container": "其它/无框架下使用 SDK,请安装,任选其一",
  56. "hyperf/pimple": "其它/无框架下使用 SDK,请安装,任选其一"
  57. },
  58. "scripts": {
  59. "test": "./vendor/bin/phpunit -c phpunit.xml --colors=always",
  60. "cs-fix": "php-cs-fixer fix --dry-run --diff 1>&2",
  61. "analyse": "phpstan analyse --memory-limit 300M -l 5 -c phpstan.neon ./src"
  62. }
  63. }