Available options
===============

Here is the full list of options available to you. You can also have a look at
``src/ZipStream.php`` file.

.. code-block:: php

    use ZipStream\ZipStream;

    require_once 'vendor/autoload.php';

    $zip = new ZipStream(
        outputStream: $filePointer,

        defaultDeflateLevel: 6,

        comment: 'This is a comment.',

        sendHttpHeaders: false,

        contentDisposition: 'attachment',

        outputName: "example.zip",

        contentType: 'application/x-zip',

        httpHeaderCallback: header(...),

        defaultEnableZeroHeader: false,

        enableZip64: true,

        flushOutput: true,
    );
