composer.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "maennchen/zipstream-php",
  3. "description": "ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.",
  4. "keywords": ["zip", "stream"],
  5. "type": "library",
  6. "license": "MIT",
  7. "authors": [{
  8. "name": "Paul Duncan",
  9. "email": "pabs@pablotron.org"
  10. },
  11. {
  12. "name": "Jonatan Männchen",
  13. "email": "jonatan@maennchen.ch"
  14. },
  15. {
  16. "name": "Jesse Donat",
  17. "email": "donatj@gmail.com"
  18. },
  19. {
  20. "name": "András Kolesár",
  21. "email": "kolesar@kolesar.hu"
  22. }
  23. ],
  24. "require": {
  25. "php-64bit": "^8.2",
  26. "ext-mbstring": "*",
  27. "ext-zlib": "*"
  28. },
  29. "require-dev": {
  30. "phpunit/phpunit": "^11.0",
  31. "guzzlehttp/guzzle": "^7.5",
  32. "ext-zip": "*",
  33. "mikey179/vfsstream": "^1.6",
  34. "php-coveralls/php-coveralls": "^2.5",
  35. "friendsofphp/php-cs-fixer": "^3.16",
  36. "vimeo/psalm": "^6.0",
  37. "brianium/paratest": "^7.7"
  38. },
  39. "suggest": {
  40. "psr/http-message": "^2.0",
  41. "guzzlehttp/psr7": "^2.4"
  42. },
  43. "scripts": {
  44. "format": "php-cs-fixer fix",
  45. "test": [
  46. "@test:unit",
  47. "@test:formatted",
  48. "@test:lint"
  49. ],
  50. "test:unit:setup-cov": "@putenv XDEBUG_MODE=coverage",
  51. "test:unit": "paratest --functional",
  52. "test:unit:cov": ["@test:unit:setup-cov", "@test:unit --coverage-clover=coverage.clover.xml --coverage-html cov"],
  53. "test:unit:slow": "@test:unit --group slow",
  54. "test:unit:slow:cov": ["@test:unit:setup-cov", "@test:unit --coverage-clover=coverage.clover.xml --coverage-html cov --group slow"],
  55. "test:unit:fast": "@test:unit --exclude-group slow",
  56. "test:unit:fast:cov": ["@test:unit:setup-cov", "@test:unit --coverage-clover=coverage.clover.xml --coverage-html cov --exclude-group slow"],
  57. "test:formatted": "@format --dry-run --stop-on-violation --using-cache=no",
  58. "test:lint": "psalm --stats --show-info=true --find-unused-psalm-suppress",
  59. "coverage:report": "php-coveralls --coverage_clover=coverage.clover.xml --json_path=coveralls-upload.json --insecure",
  60. "install:tools": "phive install --trust-gpg-keys 0x67F861C3D889C656 --trust-gpg-keys 0x8AC0BAA79732DD42",
  61. "docs:generate": "tools/phpdocumentor --sourcecode"
  62. },
  63. "autoload": {
  64. "psr-4": {
  65. "ZipStream\\": "src/"
  66. }
  67. },
  68. "autoload-dev": {
  69. "psr-4": { "ZipStream\\Test\\": "test/" }
  70. },
  71. "archive": {
  72. "exclude": [
  73. "/composer.lock",
  74. "/docs",
  75. "/.gitattributes",
  76. "/.github",
  77. "/.gitignore",
  78. "/guides",
  79. "/.phive",
  80. "/.php-cs-fixer.cache",
  81. "/.php-cs-fixer.dist.php",
  82. "/.phpdoc",
  83. "/phpdoc.dist.xml",
  84. "/.phpunit.result.cache",
  85. "/phpunit.xml.dist",
  86. "/psalm.xml",
  87. "/test",
  88. "/tools",
  89. "/.tool-versions",
  90. "/vendor"
  91. ]
  92. }
  93. }