Skip to content

ihb/ModuleCreator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 Module Creator

Introducing you a simple Magento 2 module creator.

Installation

Simply clone or download and unpack module to your Magento 2 'app/code' folder(full path should looks like - 'app/code/Ihb/ModuleCreator'). Then go to Magento 2 root folder and run php -f bin/magento setup:upgrade to activate Module Creator.

Installation via composer

Add repository url to the root composer.json file example:

    "repositories": [
        ...
        {
            "type": "git",
            "url": "https://github.com/ihb/ModuleCreator"
        }
        ...
    ]

Run composer require ihb/modulecreator:dev-master. Run php -f bin/magento setup:upgrade to activate Module Creator.

How to use

After Module Creator activated, just run php -f bin/magento ihb:module-create Vendor_Module command. This will create simple module structure in app/code/Vendor/Module folder.

Test Controller

You can test your module in test controller. Go to http://<your-domain/<vendor><moduleName>/index/index url, it's should return simple test message.

Contributing

Feel free to change anything you want to increase Module Creator functionality.

About

Simple Magento 2 Module Creator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages