All Projects → staempfli → Magento2 Code Generator

staempfli / Magento2 Code Generator

Code generator for Magento 2

Labels

Projects that are alternatives of or similar to Magento2 Code Generator

Magento2 S3
Use Amazon S3 as the file storage solution for your Magento 2 application
Stars: ✭ 133 (-43.4%)
Mutual labels:  magento2
Magento2 Configurator
Magento 2 Configurator
Stars: ✭ 158 (-32.77%)
Mutual labels:  magento2
Magento2 Dockergento
Fastest Magento 2 Docker dev environment ever for Mac and Linux
Stars: ✭ 209 (-11.06%)
Mutual labels:  magento2
Magento2 Force Login
Force Customer Login Module for Magento 2
Stars: ✭ 146 (-37.87%)
Mutual labels:  magento2
Magento react native
🛒 MageCart: E-commerce app for Magento 2.x written in React Native
Stars: ✭ 154 (-34.47%)
Mutual labels:  magento2
Docker Compose Development
Clone and `bin/dev up`. Quickly start of developing locally with Nginx, PHP, Blackfire, Percona, Mailhog and Redis. Out of the box support for Magento2 Developer Box
Stars: ✭ 171 (-27.23%)
Mutual labels:  magento2
Magento2 Bash Completion
Magento2 Bash Completion
Stars: ✭ 129 (-45.11%)
Mutual labels:  magento2
Magento 2 Smtp
Magento 2 SMTP Extension helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers.
Stars: ✭ 228 (-2.98%)
Mutual labels:  magento2
Magento 2 Social Login
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
Stars: ✭ 156 (-33.62%)
Mutual labels:  magento2
Warden
Warden is a CLI utility for orchestrating Docker based developer environments
Stars: ✭ 206 (-12.34%)
Mutual labels:  magento2
M2cert
Adobe Magento2 Certification Study Guides - 2020/2021 Updates for M2 2.3/2.4
Stars: ✭ 147 (-37.45%)
Mutual labels:  magento2
Masquerade
Faker-driven, configuration-based, platform-agnostic, locale-compatible data faker tool
Stars: ✭ 152 (-35.32%)
Mutual labels:  magento2
Mage2vuestorefront
Magento to Vue-storefront datapump - synchronizes Products, Categories and Product-to-category links between your Magento2 API and NoSQL database of vue-storefront
Stars: ✭ 183 (-22.13%)
Mutual labels:  magento2
Magento2 Ordercomments
Add an order comments field in the default checkout for Magento 2.
Stars: ✭ 137 (-41.7%)
Mutual labels:  magento2
Capistrano Magento2
Magento 2 specific tasks for Capistrano 3
Stars: ✭ 210 (-10.64%)
Mutual labels:  magento2
Algoliasearch Magento 2
Algolia Search integration for Magento 2 - compatible with versions from 2.3.x to 2.4.x
Stars: ✭ 131 (-44.26%)
Mutual labels:  magento2
Importexportfree
Improve default Magento 2 Import / Export features - cron jobs, CSV , XML , JSON , Excel , mapping of any format, Google Sheet, data and price modification, improved speed and a lot more!
Stars: ✭ 160 (-31.91%)
Mutual labels:  magento2
Magento React Native
React Native mobile app for Magento 2.x
Stars: ✭ 229 (-2.55%)
Mutual labels:  magento2
Module Blog
Magento 2 Blog Extension
Stars: ✭ 213 (-9.36%)
Mutual labels:  magento2
Magento2 Menu
Provides powerful menu editor to replace category based menus in Magento 2
Stars: ✭ 184 (-21.7%)
Mutual labels:  magento2

Magento 2 Code Generator Tool

Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development. License Version Code Climate Total Downloads

Installation

Option1: Downloading .phar

wget https://github.com/staempfli/magento2-code-generator/releases/download/<version>/mg2-codegen.phar
chmod +x ./mg2-codegen.phar
# use the command globally on your system
sudo mv ./mg2-codegen.phar /usr/local/bin/mg2-codegen

Option2: Using Composer

Install globally on your system with the following command:

composer global require "staempfli/magento2-code-generator"

Just make sure you have the composer bin dir in your $PATH. The default value is ~/.composer/vendor/bin/

Note: if you have dependency problems with other projects installed globally, we recommend you to use consolidation/cgr

Usage

  1. List all templates: mg2-codegen template:list

  2. Generate template: mg2-codegen template:generate <template>

NOTE:

  • template:generate command must be executed on the module root folder where the registration.php file is. You can also use option --root-dir to specify this path, if you execute it from a different location.

  • When creating a new module, you must create first the module parent folder and execute the command from there.

Demo

Video Demo

You can also watch a more detailed video demos on Youtube:

Available Templates

Featured
  ajaxHtml
  consoleCommand
  crudEAV
  crudEAVWithFile
  frontController
  requireJs
  logger
  widget

More Templates
  ajaxJson
  ajaxRestApi
  blockHtml
  crud
  crudEAVWithMultipleFiles
  customConfigXml
  customDBConnection
  email
  emailFormRequest
  fileEAVAttribute
  fileEAVMultiple
  fileModel
  fileProcessor
  fotoramaSlider
  language
  model
  module

Create new Templates

Clone and Install Project

For that you cannot use the .phar binary, so you need to install the project:

Contribute with new Templates

Private Templates

If current templates do not fill your needs, you can easily create your own templates. Just follow the manual:

Prerequisites

  • PHP >= 5.6.*

Developers

Licence

Copyright

(c) 2016 Staempfli AG

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].