composer.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "overtrue/wechat",
  3. "description": "微信SDK",
  4. "keywords": [
  5. "easywechat",
  6. "wechat",
  7. "weixin",
  8. "weixin-sdk",
  9. "sdk"
  10. ],
  11. "license": "MIT",
  12. "authors": [
  13. {
  14. "name": "overtrue",
  15. "email": "anzhengchao@gmail.com"
  16. }
  17. ],
  18. "require": {
  19. "php": ">=7.2",
  20. "ext-fileinfo": "*",
  21. "ext-openssl": "*",
  22. "ext-simplexml": "*",
  23. "easywechat-composer/easywechat-composer": "^1.1",
  24. "guzzlehttp/guzzle": "^6.2 || ^7.0",
  25. "monolog/monolog": "^1.22 || ^2.0",
  26. "overtrue/socialite": "~2.0",
  27. "pimple/pimple": "^3.0",
  28. "psr/simple-cache": "^1.0",
  29. "symfony/cache": "^3.3 || ^4.3 || ^5.0",
  30. "symfony/event-dispatcher": "^4.3 || ^5.0",
  31. "symfony/http-foundation": "^2.7 || ^3.0 || ^4.0 || ^5.0",
  32. "symfony/psr-http-message-bridge": "^0.3 || ^1.0 || ^2.0"
  33. },
  34. "require-dev": {
  35. "friendsofphp/php-cs-fixer": "^2.15",
  36. "mikey179/vfsstream": "^1.6",
  37. "mockery/mockery": "^1.2.3",
  38. "phpstan/phpstan": "^0.12.0",
  39. "phpunit/phpunit": "^7.5"
  40. },
  41. "autoload": {
  42. "psr-4": {
  43. "EasyWeChat\\": "src/"
  44. },
  45. "files": [
  46. "src/Kernel/Support/Helpers.php",
  47. "src/Kernel/Helpers.php"
  48. ]
  49. },
  50. "autoload-dev": {
  51. "psr-4": {
  52. "EasyWeChat\\Tests\\": "tests/"
  53. }
  54. },
  55. "scripts": {
  56. "phpcs": "vendor/bin/php-cs-fixer fix",
  57. "phpstan": "vendor/bin/phpstan analyse",
  58. "check-style": "php-cs-fixer fix --using-cache=no --diff --config=.php_cs --dry-run --ansi",
  59. "fix-style": "php-cs-fixer fix --using-cache=no --config=.php_cs --ansi",
  60. "test": "vendor/bin/phpunit --colors=always"
  61. }
  62. }