composer.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "hyperf/filesystem",
  3. "type": "library",
  4. "license": "MIT",
  5. "keywords": [
  6. "php",
  7. "hyperf"
  8. ],
  9. "description": "flysystem integration for hyperf",
  10. "autoload": {
  11. "psr-4": {
  12. "Hyperf\\Filesystem\\": "src/"
  13. },
  14. "files": [
  15. "src/Adapter/AliyunOssHook.php"
  16. ]
  17. },
  18. "autoload-dev": {
  19. "psr-4": {
  20. "HyperfTest\\Filesystem\\": "tests"
  21. }
  22. },
  23. "require": {
  24. "php": ">=7.2",
  25. "ext-swoole": ">=4.4",
  26. "hyperf/di": "~2.0.0",
  27. "league/flysystem": "^1.0"
  28. },
  29. "require-dev": {
  30. "friendsofphp/php-cs-fixer": "^2.14",
  31. "hyperf/config": "~2.0.0",
  32. "hyperf/guzzle": "~2.0.0",
  33. "hyperf/testing": "~2.0.0",
  34. "league/flysystem-aws-s3-v3": "^1.0",
  35. "league/flysystem-memory": "^1.0",
  36. "overtrue/flysystem-qiniu": "^1.0",
  37. "overtrue/flysystem-cos": "^2.0",
  38. "phpstan/phpstan": "^0.10.5",
  39. "xxtime/flysystem-aliyun-oss": "^1.5"
  40. },
  41. "suggest": {
  42. "xxtime/flysystem-aliyun-oss": "required to use aliyun oss adapter",
  43. "league/flysystem-memory": "required to use memory adapter",
  44. "hyperf/guzzle": "required to use s3 adapter",
  45. "league/flysystem-aws-s3-v3": "required to use s3 adapter",
  46. "overtrue/flysystem-qiniu": "required to use qiniu adapter",
  47. "overtrue/flysystem-cos": "required to use cos adapter"
  48. },
  49. "config": {
  50. "sort-packages": true
  51. },
  52. "scripts": {
  53. "test": "co-phpunit -c phpunit.xml --colors=always",
  54. "analyse": "phpstan analyse --memory-limit 300M -l 0 ./src",
  55. "cs-fix": "php-cs-fixer fix $1"
  56. },
  57. "extra": {
  58. "branch-alias": {
  59. "dev-master": "2.0-dev"
  60. },
  61. "hyperf": {
  62. "config": "Hyperf\\Filesystem\\ConfigProvider"
  63. }
  64. }
  65. }