tzyganu / Magento2SampleModule

This is where I would put a Magento 2.0 Sample CRUD module if I had one.
MIT License
158 stars 65 forks source link

Magento 2.0 Sample Module

Last tested on Magento2 version 2.1

Magento 2 Sample Module

What I got so far:

The other types of entities and features listed in the purpose will follow. Don't put many hopes in this. Based on the comments on the magento 2 repo the grid system will be changed...A LOT.

The purpose

....of this repository is to hold a sample CRUD module for Magento 2.0. This module should contain the following:

After this is complete (or almost) it will become the base source for the Ultimate Module Creator 2.0 which will be a version for Magento 2.0 of the Ultimate Module Creator for Magento 1.7.

Any other ideas and pieces of code are welcomed even encouraged.

Install

Manually: To install this module copy the code from this repo to app/code folder of your Magento 2 instance, If you do this after installing Magento 2 you need to run php bin/magento setup:upgrade

Via composer

Uninstall

If you installed it manually:

If you installed it via composer: