Skip to content

saguaro80/m2cpb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento2 Component Package Builder

Builds two ZIP packages of a Magento2 component (module, theme, language or library):

  • Magento Marketplace package, ready to be submitted to Magento Marketplace for approval
  • Standalone package, ready to be uploaded into the root of a Magento installation

Installation

Use Composer:

composer require mmenozzi/m2cpb

Usage

Execute the following command:

vendor/bin/m2cpb <src_path> <composer_file_path> <destination_zip_path>

Where:

  • <src_path>, is the path to the root directory of the component (the one which contains the registration.php file).
  • <composer_file_path>, is the path to the original composer.json file used during development. The following properties must be set: name, version, type, license, authors and autoload.
  • <destination_zip_path>, is the path to the destination directory of the ZIP package file. The file name of the ZIP package is automatically generated using the Composer's package name and version.

License

This library is under the MIT license. See the complete license in the LICENSE file.

About

Magento2 Component Package Builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%