You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

composer.json 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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.4",
  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": "^3.2 || ^4.0",
  27. "pimple/pimple": "^3.0",
  28. "psr/simple-cache": "^1.0||^2.0||^3.0",
  29. "symfony/cache": "^3.3 || ^4.3 || ^5.0 || ^6.0",
  30. "symfony/event-dispatcher": "^4.3 || ^5.0 || ^6.0",
  31. "symfony/http-foundation": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0",
  32. "symfony/psr-http-message-bridge": "^0.3 || ^1.0 || ^2.0",
  33. "ext-libxml": "*"
  34. },
  35. "require-dev": {
  36. "friendsofphp/php-cs-fixer": "^3.5.0",
  37. "brainmaestro/composer-git-hooks": "^2.7",
  38. "mikey179/vfsstream": "^1.6",
  39. "mockery/mockery": "^1.2.3",
  40. "phpstan/phpstan": "^0.12.0",
  41. "phpunit/phpunit": "^9.3",
  42. "dms/phpunit-arraysubset-asserts": "^0.2.0"
  43. },
  44. "autoload": {
  45. "psr-4": {
  46. "EasyWeChat\\": "src/"
  47. },
  48. "files": [
  49. "src/Kernel/Support/Helpers.php",
  50. "src/Kernel/Helpers.php"
  51. ]
  52. },
  53. "autoload-dev": {
  54. "psr-4": {
  55. "EasyWeChat\\Tests\\": "tests/"
  56. }
  57. },
  58. "extra": {
  59. "hooks": {
  60. "pre-commit": [
  61. "composer test",
  62. "composer fix-style"
  63. ],
  64. "pre-push": [
  65. "composer test",
  66. "composer fix-style"
  67. ]
  68. }
  69. },
  70. "scripts": {
  71. "post-update-cmd": [
  72. "cghooks update"
  73. ],
  74. "post-merge": "composer install",
  75. "post-install-cmd": [
  76. "cghooks add --ignore-lock",
  77. "cghooks update"
  78. ],
  79. "phpstan": "vendor/bin/phpstan analyse",
  80. "check-style": "vendor/bin/php-cs-fixer fix --using-cache=no --diff --config=.php-cs-fixer.dist.php --dry-run --ansi",
  81. "fix-style": "vendor/bin/php-cs-fixer fix --using-cache=no --config=.php-cs-fixer.dist.php --ansi",
  82. "test": "vendor/bin/phpunit --colors=always --testdox"
  83. }
  84. }