etshy/php-zip-bundle

Symfony bundle using php-zip

Installs: 9 455

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Forks: 0

Type:symfony-bundle

0.3.1 2022-01-18 17:26 UTC

This package is auto-updated.

Last update: 2024-04-18 22:09:04 UTC


README

A simple Bundle to integrate the awesome phpZip library as a Symfony Service

Useful methods to work with the zip library could be added with time.

Installation

Applications that use Symfony Flex (not configured yet)

Open a command console, enter your project directory and execute:

$ composer require etshy/php-zip-bundle

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require etshy/php-zip-bundle

This command requires you to have Composer installed globally, as explained in the [installation chapter] https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

// config/bundles.php

// ...
return [
    Etshy\Bundle\PhpZipBundle\PhpZipBundle::class => ['all' => true],
];