PHPackages                             mmenozzi/m2cpb - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mmenozzi/m2cpb

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mmenozzi/m2cpb
==============

Magento2 Component Package Builder

21.9k1PHP

Since Mar 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mmenozzi/m2cpb)[ Packagist](https://packagist.org/packages/mmenozzi/m2cpb)[ RSS](/packages/mmenozzi-m2cpb/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Magento2 Component Package Builder
==================================

[](#magento2-component-package-builder)

Builds a ZIP package of a Magento2 component (module, theme, language or library).

Installation
------------

[](#installation)

Use Composer:

```
composer require mmenozzi/m2cpb

```

Usage
-----

[](#usage)

Execute the following command:

```
vendor/bin/m2cpb

```

Where:

- ``, is the path to the root directory of the component (the one which contains the registration.php file).
- ``, 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.
- ``, version to set into destination package. It's intended to be passed from a continuous integration system which builds a specific branch or tag.
- ``, 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
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/eca104631fd7f6aff6d399ca16458c4d9814770756af0ecca22ffe2b1c5704d3?d=identicon)[mmenozzi](/maintainers/mmenozzi)

---

Top Contributors

[![mmenozzi](https://avatars.githubusercontent.com/u/1199914?v=4)](https://github.com/mmenozzi "mmenozzi (13 commits)")[![saguaro80](https://avatars.githubusercontent.com/u/8060762?v=4)](https://github.com/saguaro80 "saguaro80 (1 commits)")

### Embed Badge

![Health badge](/badges/mmenozzi-m2cpb/health.svg)

```
[![Health](https://phpackages.com/badges/mmenozzi-m2cpb/health.svg)](https://phpackages.com/packages/mmenozzi-m2cpb)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
