Skip to content

anujwebkul/magento2-code-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Generator For Magento2

Installation

composer require webkul/code-generator

php -f bin/magento setup:update

Usage

  • To Create new Module

php bin/magento generate:code Module_Name –type=new-module

  • To Generate code types

php bin/magento generate:code Module_Name --table="table_name" --type=code-type --name=ModelName

If you have created the db_schema file for the table in the above command, it will automatically create setter and getter of all the columns in the schema.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%