pleminh / magemtoo
Magemtoo - Magento 2 的模块创建器
0.1.0
2016-01-12 03:21 UTC
Requires
- php: ~5.5.0|~5.6.0|~7.0.0
- magento/module-backend: ~100.0.0
- twig/twig: ^2.0@dev
This package is not auto-updated.
Last update: 2024-09-23 10:54:01 UTC
README
描述
Magento 2 模块帮助根据供应商名称和模块名称生成模块原型。
- 版本:0.1
要求
- PHP 5.5.x >
- Twig
- Magento 2.x >
安装
步骤 1:下载捆绑包
打开命令行控制台,进入您的项目目录并执行以下命令以下载此捆绑包的最新稳定版本
$ composer require pleminh/magemtoo
此命令要求您全局安装 Composer,如 Composer 文档中的安装章节所述。
步骤 2:启用捆绑包
然后,启用捆绑包,执行以下命令
$ php bin/magento setup:upgrade
用法
命令
用法
$ php bin/magento magemtoo:generate:module --help
Usage:
magemtoo:generate:module [--vendor-name="..."] [--module-name="..."]
Options:
--vendor-name The vendor name - used for namespace - eg : Magemtoo
--module-name The module name - word that describes what the module does. eg : Swifter
--help (-h) Display this help message
--quiet (-q) Do not output any message
--verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version (-V) Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
--no-interaction (-n) Do not ask any interactive question
magemtoo:generate:module
此命令将根据供应商名称和模块名称生成基础骨架模块原型。
$ php bin/magento magemtoo:generate:module
路线图
- 创建主题原型
- 根据 pleminh/magento2-blog-product 的结构创建 CRUD 系统原型