2
0

composer.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "nelexa/zip",
  3. "type": "library",
  4. "description": "PhpZip is a php-library for extended work with ZIP-archives. Open, create, update, delete, extract and get info tool. Supports appending to existing ZIP files, WinZip AES encryption, Traditional PKWARE Encryption, BZIP2 compression, external file attributes and ZIP64 extensions. Alternative ZipArchive. It does not require php-zip extension.",
  5. "keywords": [
  6. "zip",
  7. "unzip",
  8. "archive",
  9. "extract",
  10. "winzip",
  11. "ziparchive"
  12. ],
  13. "homepage": "https://github.com/Ne-Lexa/php-zip",
  14. "license": "MIT",
  15. "authors": [
  16. {
  17. "name": "Ne-Lexa",
  18. "email": "alexey@nelexa.ru",
  19. "role": "Developer"
  20. }
  21. ],
  22. "require": {
  23. "php": "^7.4 || ^8.0",
  24. "ext-zlib": "*",
  25. "psr/http-message": "*",
  26. "symfony/finder": "*"
  27. },
  28. "require-dev": {
  29. "ext-iconv": "*",
  30. "ext-bz2": "*",
  31. "ext-openssl": "*",
  32. "ext-fileinfo": "*",
  33. "ext-xml": "*",
  34. "ext-dom": "*",
  35. "guzzlehttp/psr7": "^1.6",
  36. "phpunit/phpunit": "^9",
  37. "symfony/var-dumper": "*",
  38. "friendsofphp/php-cs-fixer": "^3.4.0",
  39. "vimeo/psalm": "^4.6",
  40. "symfony/http-foundation": "*"
  41. },
  42. "autoload": {
  43. "psr-4": {
  44. "PhpZip\\": "src/"
  45. }
  46. },
  47. "autoload-dev": {
  48. "psr-4": {
  49. "PhpZip\\Tests\\": "tests/"
  50. }
  51. },
  52. "suggest": {
  53. "ext-iconv": "Needed to support convert zip entry name to requested character encoding",
  54. "ext-openssl": "Needed to support encrypt zip entries or use ext-mcrypt",
  55. "ext-bz2": "Needed to support BZIP2 compression",
  56. "ext-fileinfo": "Needed to get mime-type file"
  57. },
  58. "minimum-stability": "stable",
  59. "scripts": {
  60. "php:fix": "php .php_cs --force",
  61. "test": "phpunit --configuration phpunit.xml --do-not-cache-result --colors=always",
  62. "test:coverage": "phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
  63. }
  64. }