Ecommet

Magento 2 Module Generator

Generate a working Magento 2 module skeleton in your browser: pick what you need, preview every file and download a zip.

Loading the tool…

How to use it

Enter a vendor and module name, tick the parts you need, and the files appear on the right. Download the zip and unpack it into app/code.

Questions

Is the generated code sent anywhere?

No. Everything runs in your browser and nothing is uploaded.

Which Magento versions does the code work with?

The code uses PHP 8.1 syntax such as constructor property promotion, so it targets Magento 2.4.4 and later.

How do I install the module?

Unpack the zip so the files sit in app/code/Vendor/Module, then run bin/magento module:enable, setup:upgrade and cache:flush. The README in the zip lists the exact commands.

Can I use the output in a commercial project?

Yes. The generated files are yours to use and change.

Have a project in mind?

Tell me what you need, even in a few lines, and I’ll come back with questions or a quote.