{"id":88777,"library":"nelexa-zip","title":"PhpZip","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.","status":"active","version":"4.0.2","language":"php","source_language":null,"source_url":"https://github.com/Ne-Lexa/php-zip","tags":["zip","archive","compression","encryption","php"],"install":[{"cmd":"composer require nelexa/zip","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"ZipFile","correct":"use PhpZip\\ZipFile;"}],"quickstart":{"code":"use PhpZip\\ZipFile;\n\n$zipFile = new ZipFile();\n$zipFile->addFile('/path/to/file.txt', 'file.txt')\n        ->saveAsFile('/path/to/output.zip')\n        ->close();","lang":"php","description":"Create a ZIP archive by adding a file and saving it."},"warnings":[{"fix":"Upgrade PHP to 7.4+ or use version 3.x which supports PHP 7.1+","message":"Requires PHP 7.4 or higher for version 4.x","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'ae':31 'altern':44 'append':25 'archiv':14,55 'attribut':40 'bzip2':36 'compress':37,56 'creat':16 'delet':18 'encrypt':32,35,57 'exist':27 'extend':9 'extens':43,53 'extern':38 'extract':19 'file':29,39 'get':21 'info':22 'librari':7 'open':15 'php':6,51,58 'php-librari':5 'php-zip':50 'phpzip':1,2 'pkware':34 'requir':49 'support':24 'tool':23 'tradit':33 'updat':17 'winzip':30 'work':10 'zip':13,28,52,54 'zip-arch':12 'zip64':42 'ziparch':45","created_at":"2026-06-19T08:37:34.689505+00:00","updated_at":"2026-06-19T08:37:34.689505+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Ne-Lexa/php-zip","github":"https://github.com/Ne-Lexa/php-zip","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}