composer.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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, ZipAlign tool, 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. "zipalign",
  12. "ziparchive"
  13. ],
  14. "homepage": "https://github.com/Ne-Lexa/php-zip",
  15. "license": "MIT",
  16. "authors": [
  17. {
  18. "name": "Ne-Lexa",
  19. "email": "alexey@nelexa.ru",
  20. "role": "Developer"
  21. }
  22. ],
  23. "require": {
  24. "php": "^5.5.9 || ^7.0",
  25. "ext-zlib": "*",
  26. "psr/http-message": "^1.0",
  27. "paragonie/random_compat": "*",
  28. "symfony/finder": "^3.0|^4.0|^5.0"
  29. },
  30. "require-dev": {
  31. "ext-bz2": "*",
  32. "ext-openssl": "*",
  33. "ext-fileinfo": "*",
  34. "ext-xml": "*",
  35. "guzzlehttp/psr7": "^1.6",
  36. "phpunit/phpunit": "^4.8|^5.7",
  37. "symfony/var-dumper": "^3.0|^4.0|^5.0"
  38. },
  39. "autoload": {
  40. "psr-4": {
  41. "PhpZip\\": "src/"
  42. }
  43. },
  44. "autoload-dev": {
  45. "psr-4": {
  46. "PhpZip\\Tests\\": "tests/"
  47. }
  48. },
  49. "suggest": {
  50. "ext-openssl": "Needed to support encrypt zip entries or use ext-mcrypt",
  51. "ext-mcrypt": "Needed to support encrypt zip entries or use ext-openssl",
  52. "ext-bz2": "Needed to support BZIP2 compression",
  53. "ext-fileinfo": "Needed to get mime-type file"
  54. },
  55. "minimum-stability": "stable",
  56. "scripts": {
  57. "php:fix": "php .php_cs --force",
  58. "php:fix:debug": "php .php_cs"
  59. }
  60. }