PHPackages                             gaomingcode/jszip - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. gaomingcode/jszip

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

gaomingcode/jszip
=================

Create, read and edit .zip files with Javascript

3.6.0(5y ago)0184MIT

Since Jun 3Pushed 5y agoCompare

[ Source](https://github.com/gaomingcode/jszip)[ Packagist](https://packagist.org/packages/gaomingcode/jszip)[ Docs](https://github.com/Stuk/jszip)[ RSS](/packages/gaomingcode-jszip/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

JSZip
=====

[](#jszip)

[![GitHub Version](https://camo.githubusercontent.com/74f127a68c3695d15a7de2c56b37affa8745fdc14a4ef3ed85bc06ee2964bc70/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f67616f6d696e67636f64652f6a737a69702e737667)](https://github.com/gaomingcode/jszip)[![Packagist Downloads](https://camo.githubusercontent.com/6aca6666d52e747a71a9ce1f16006ffd7c74eca0c80f65ce2809cf172f3aad7b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f67616f6d696e67636f64652f6a737a6970)](https://github.com/gaomingcode/jszip)[![Github License](https://camo.githubusercontent.com/0eac6c1841923a2e7fa9c0ee55d5a2de5f0b5108b16c88d5337a0cd6908ff4ca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f67616f6d696e67636f64652f6a737a6970)](https://github.com/gaomingcode/jszip)

Installation
------------

[](#installation)

### Composer

[](#composer)

```
composer require gaomingcode/jszip

```

ReadMe from Origin
------------------

[](#readme-from-origin)

[![Selenium Test Status](https://camo.githubusercontent.com/f4ebd02e8eb110cf39e62a4ff2a4434cd64b39cc6955da283f8bd32ef26c8e20/68747470733a2f2f73617563656c6162732e636f6d2f62726f777365722d6d61747269782f6a737a69702e737667)](https://saucelabs.com/u/jszip)

A library for creating, reading and editing .zip files with JavaScript, with a lovely and simple API.

See  for all the documentation.

```
var zip = new JSZip();

zip.file("Hello.txt", "Hello World\n");

var img = zip.folder("images");
img.file("smile.gif", imgData, {base64: true});

zip.generateAsync({type:"blob"}).then(function(content) {
    // see FileSaver.js
    saveAs(content, "example.zip");
});

/*
Results in a zip containing
Hello.txt
images/
    smile.gif
*/
```

License
-------

[](#license)

JSZip is dual-licensed. You may use it under the MIT license *or* the GPLv3 license. See [LICENSE.markdown](LICENSE.markdown).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1855d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b333bd44a2f7f526cc29a59b2945b27c7d2f31df68b92c2eb46efbddc032483?d=identicon)[gaomingcode](/maintainers/gaomingcode)

---

Top Contributors

[![dduponchel](https://avatars.githubusercontent.com/u/30335?v=4)](https://github.com/dduponchel "dduponchel (339 commits)")[![Stuk](https://avatars.githubusercontent.com/u/48019?v=4)](https://github.com/Stuk "Stuk (198 commits)")[![Mithgol](https://avatars.githubusercontent.com/u/1088720?v=4)](https://github.com/Mithgol "Mithgol (11 commits)")[![evilaliv3](https://avatars.githubusercontent.com/u/217034?v=4)](https://github.com/evilaliv3 "evilaliv3 (10 commits)")[![jsoref](https://avatars.githubusercontent.com/u/2119212?v=4)](https://github.com/jsoref "jsoref (8 commits)")[![gaomingcode](https://avatars.githubusercontent.com/u/53959161?v=4)](https://github.com/gaomingcode "gaomingcode (7 commits)")[![mljsgto222](https://avatars.githubusercontent.com/u/7208057?v=4)](https://github.com/mljsgto222 "mljsgto222 (5 commits)")[![ddxdental](https://avatars.githubusercontent.com/u/14878744?v=4)](https://github.com/ddxdental "ddxdental (3 commits)")[![edi9999](https://avatars.githubusercontent.com/u/2071336?v=4)](https://github.com/edi9999 "edi9999 (3 commits)")[![feugy](https://avatars.githubusercontent.com/u/186268?v=4)](https://github.com/feugy "feugy (3 commits)")[![maxwellium](https://avatars.githubusercontent.com/u/896080?v=4)](https://github.com/maxwellium "maxwellium (3 commits)")[![calvinmetcalf](https://avatars.githubusercontent.com/u/1128607?v=4)](https://github.com/calvinmetcalf "calvinmetcalf (2 commits)")[![isochronous](https://avatars.githubusercontent.com/u/774609?v=4)](https://github.com/isochronous "isochronous (2 commits)")[![3on](https://avatars.githubusercontent.com/u/1082113?v=4)](https://github.com/3on "3on (2 commits)")[![ChALkeR](https://avatars.githubusercontent.com/u/291301?v=4)](https://github.com/ChALkeR "ChALkeR (2 commits)")[![adm90](https://avatars.githubusercontent.com/u/1159599?v=4)](https://github.com/adm90 "adm90 (2 commits)")[![ZackMFleischman](https://avatars.githubusercontent.com/u/4298857?v=4)](https://github.com/ZackMFleischman "ZackMFleischman (1 commits)")[![gztomas](https://avatars.githubusercontent.com/u/1714020?v=4)](https://github.com/gztomas "gztomas (1 commits)")[![JayFate](https://avatars.githubusercontent.com/u/48240828?v=4)](https://github.com/JayFate "JayFate (1 commits)")[![kalmi](https://avatars.githubusercontent.com/u/54426?v=4)](https://github.com/kalmi "kalmi (1 commits)")

---

Tags

pdfcreateeditjszip

### Embed Badge

![Health badge](/badges/gaomingcode-jszip/health.svg)

```
[![Health](https://phpackages.com/badges/gaomingcode-jszip/health.svg)](https://phpackages.com/packages/gaomingcode-jszip)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.4k99.4M384](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

Deprecated legacy PDF engine for PHP. Use instead tecnickcom/tc-lib-pdf.

4.5k109.8M577](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k83.4M564](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k72.4M62](/packages/knplabs-knp-snappy)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k36.7M155](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k40.5M268](/packages/smalot-pdfparser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
