gm

generator-mage2

Yeoman generator for Magento 2 extensions (modules and themes)

Showing:

Popularity

Downloads/wk

1

GitHub Stars

13

Maintenance

Last Commit

5yrs ago

Contributors

0

Package

Dependencies

3

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Magento2 Generator

generator-mage2 makes it easy to create Magento2 extensions (modules and themes).

Installation

$ npm install -g generator-mage2

Commands

  • yo mage2: Installs Magento2 Community Edition.
  • yo mage2:module: Creates a basic Magento2 module folder.

Commands for module

Before using the following commands, you must be located inside your module folder.
If you have a VendorName/ModuleName module, you should do: cd VendorName/ModuleName.

  • yo mage2:acl: Creates acl file with some default rules.
  • yo mage2:menu: Creates custom menu on Magento2 admin panel.
  • yo mage2:observer: Creates an event observer. Here is all of the events dispatched in Magento2.
  • yo mage2:route: Creates a route.
  • yo mage2:view: Creates a view.
  • yo mage2:command: Creates a command.
  • yo mage2:crud_model: Creates a CRUD model.
  • More coming soon

Commmands for theme

  • Coming soon

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial