blackbird/installschemagenerator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

blackbird/installschemagenerator

最新稳定版本:100.1.3

Composer 安装命令:

composer require --dev blackbird/installschemagenerator

包简介

This module enable you to retrieve InstallSchema.php from tables of your choice

README 文档

README

Latest Stable Version License: MIT

An extension for Magento 2 by Blackbird Agency

Synopsis

This project is a developer tool destined to speed up the tables creation's scripts of a Magento 2 module. The purpose of this project is to make easier to create extra tables for your Magento 2 modules. For example, you love the Phpmyadmin UI and have designed your tables with it. But now you have to write the entire setup script for your Magento 2 module... If only you were allowed to generate this setup script from your tables... And here we are! That's why we offer you this module: it allows you to generate your InstallSchema.php setup file throught your database tables.

How to use it

Requirements:

  • You should have initialized a databasse and created your table(s)

You can generate the setup file via two methods:

  • CLI command
  • UI Backend

CLI Command

Allowed CLI commands:

php magento isg:generate [tables...]

options:

-n : custom namespace name for the file -l : location where to generate the file

UI Backend

  • Connect to your Magento 2 admin panel, then go to System => Install Schema Generator
  • Insert your custom namespace
  • Select the tables to generate into a InstallSchema.php setup file
  • Download your file and enjoy it

alt tag

Setup

Get the package

Zip Package:

Unzip the package in app/code/Blackbird/InstallSchemaGenerator.

Composer Package:

composer require blackbird/installschemagenerator

Install the module

Then, run the following magento command:

php bin/magento setup:upgrade

If you are in production mode, do not forget to recompile and redeploy the static resources.

Support

Raise a request.

Authors

Contact

For further information, contact us:

Licence

This project is licensed under the Blackbird Policy License - see the LICENSE link for details.

That's all folks!

统计信息

  • 总下载量: 19.39k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 4
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-13