PHPackages                             wesleywmd/magento2-invent - 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. wesleywmd/magento2-invent

ActiveMagento2-module

wesleywmd/magento2-invent
=========================

Magento Boilerplating Module

1.1.0(7y ago)142[7 issues](https://github.com/wesleywmd/magento2-invent/issues)PHP

Since May 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/wesleywmd/magento2-invent)[ Packagist](https://packagist.org/packages/wesleywmd/magento2-invent)[ RSS](/packages/wesleywmd-magento2-invent/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

Invent2
=======

[](#invent2)

File templating engine for magento modules

How to install this Module
==========================

[](#how-to-install-this-module)

It's packagist now!

To install this library is as simple as

```
composer require wesleywmd/magento2-invent dev-master --dev

```

Current Version
===============

[](#current-version)

### 1.1.0

[](#110)

- added `invent:model` command
- added `--model` option to `invent:module` command
- added `invent:preference` command
- restructured xml file generation to use a standard class instead of separate ones.

How to use this Module
======================

[](#how-to-use-this-module)

This module can be used with new and existing modules and even appends to existing xml files. This module makes skeleton classes and does not populate anything specific to your module. It is meant to create a standard of what different components should look like. Feedback or this standard is appreciated.

Create a new Module
-------------------

[](#create-a-new-module)

To create a new module use this command:

```
bin/magento invent:module

```

Where module\_name name defines you, well, your module name. Here is an example:

```
bin/magento invent:module Wesleywmd_TestModule

```

This will create a new module, including you directory structure in `app/code`, your `etc/module.xml`, and your `registration.php` files.

Note: You can also pass options for most components that invent can create when creating your module or you can choose to use the commands for each component. Here is an example:

```
bin/magento invent:module Wesleywmd_TestModule --cron test_cron --cron other_cron --controller "test/index/index"

```

This command will create your module with 2 cron jobs and a controller prebuilt in for you. If you want more options for creating a component see the command for the specific component.

Create a new Block
------------------

[](#create-a-new-block)

```
bin/magento invent:block

```

Create a new Command
--------------------

[](#create-a-new-command)

```
bin/magento invent:command

```

Create a new Controller
-----------------------

[](#create-a-new-controller)

```
bin/magento invent:controller

```

Create a new Cron
-----------------

[](#create-a-new-cron)

```
bin/mangento invent:cron

```

Create a new Model
------------------

[](#create-a-new-model)

```
bin/magento invent:model

```

Create a new Preference
-----------------------

[](#create-a-new-preference)

```
bin/magento invent:preference

```

Changelog
=========

[](#changelog)

### 1.0.0

[](#100)

- Initial Launch

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~4 days

Total

2

Last Release

2560d ago

### Community

Maintainers

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

---

Top Contributors

[![wesleywmd](https://avatars.githubusercontent.com/u/5177606?v=4)](https://github.com/wesleywmd "wesleywmd (3 commits)")

### Embed Badge

![Health badge](/badges/wesleywmd-magento2-invent/health.svg)

```
[![Health](https://phpackages.com/badges/wesleywmd-magento2-invent/health.svg)](https://phpackages.com/packages/wesleywmd-magento2-invent)
```

PHPackages © 2026

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