vanengers / prestashop-prepare-module-archive
Prepare module for addons / validator upload
v1.0.9
2023-10-07 01:46 UTC
Requires
- php: ^8.0 || ^7.2
- ext-zip: *
- phpzip/phpzip: ^2.0
- prestashop/php-dev-tools: ^4.3.0
- symfony/console: ^3.4 || ~4.0 || ~5.0 || ~6.0
- symfony/finder: ^3.4 || ~4.0 || ~5.0 || ~6.0
README
Prepare module for addons / validator upload. It will update composer within the production environment. (--no-dev parameter)
Install
composer require --dev vanengers/prestashop-prepare-module-archive
Useage
php vendor/bin/archive --module=MODULE_NAME
You can specify an alternative folder for the module. (default: current folder)
php vendor/bin/archive --module=MODULE_NAME --path=MODULE_FOLDER
You can exclude extra folders from the ZIP archive. (default: none)
php vendor/bin/archive --module=MODULE_NAME --exclude=folder1,folder2