etshy / php-zip-bundle
Symfony bundle using php-zip
Requires
- php: ^7.4 || ^8.0
- nelexa/zip: ^4.0
- symfony/config: ^5 || ^6
- symfony/dependency-injection: ^5 || ^6
- symfony/framework-bundle: ^5 || ^6
Requires (Dev)
- doctrine/coding-standard: ^8
- phpunit/phpunit: ^8.0
- roave/security-advisories: dev-latest
- symfony/phpunit-bridge: ^5 || ^6
This package is auto-updated.
Last update: 2025-03-19 00:17:41 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],
];