composer.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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": "^7.4 || ^8.0",
  26. "symfony/polyfill-mbstring": "^1.0",
  27. "psr/http-message": "^1.0",
  28. "myclabs/php-enum": "^1.5"
  29. },
  30. "require-dev": {
  31. "phpunit/phpunit": "^8.5.8 || ^9.4.2",
  32. "guzzlehttp/guzzle": "^6.5.3 || ^7.2.0",
  33. "ext-zip": "*",
  34. "mikey179/vfsstream": "^1.6",
  35. "vimeo/psalm": "^4.1",
  36. "php-coveralls/php-coveralls": "^2.4",
  37. "friendsofphp/php-cs-fixer": "^3.9"
  38. },
  39. "scripts": {
  40. "format": "php-cs-fixer fix",
  41. "test": "composer run test:unit && composer run test:formatted && composer run test:lint",
  42. "test:unit": "phpunit --coverage-clover=coverage.clover.xml",
  43. "test:formatted": "composer run format -- --dry-run --stop-on-violation --using-cache=no",
  44. "test:lint": "psalm --stats --show-info --find-unused-psalm-suppress",
  45. "coverage:report": "php-coveralls --coverage_clover=coverage.clover.xml --json_path=coveralls-upload.json -v",
  46. "install:tools": "phive install --trust-gpg-keys 0x67F861C3D889C656",
  47. "docs:generate": "tools/phpdocumentor --sourcecode"
  48. },
  49. "autoload": {
  50. "psr-4": {
  51. "ZipStream\\": "src/"
  52. }
  53. },
  54. "archive": {
  55. "exclude": [
  56. "/composer.lock",
  57. "/docs",
  58. "/.gitattributes",
  59. "/.github",
  60. "/.gitignore",
  61. "/guides",
  62. "/.phive",
  63. "/.php-cs-fixer.cache",
  64. "/.php-cs-fixer.dist.php",
  65. "/.phpdoc",
  66. "/phpdoc.dist.xml",
  67. "/.phpunit.result.cache",
  68. "/phpunit.xml.dist",
  69. "/psalm.xml",
  70. "/test",
  71. "/tools",
  72. "/.tool-versions",
  73. "/vendor"
  74. ]
  75. }
  76. }