Type
magento2-module
This module enable you to retrieve InstallSchema.php from tables of your choice
magento2-module
OSL-3.0
None
None
None
None
None
An extension for Magento 2 by Blackbird Agency
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.
Requirements:
You can generate the setup file via two methods:
Allowed CLI commands:
php magento isg:generate [tables...]
options:
-n : custom namespace name for the file -l : location where to generate the file
Including this dependency in your Magento project is the more convenient way to integrate ISG.
This package is not yet available on packagist.
In order to be able to install it, you'll need to be sure that your root composer.json file contains a reference to the bitbucket repository. To do so you'll need to add the following to composer.json
:
"repositories": [
{
"type": "vcs",
"url": "https://bitbucket.org/blackbirdagency/magento2-extensions-isgenerator/"
}
]
The above can also be added via the composer cli with the command:
composer config repositories.blackbird_isg vcs https://bitbucket.org/blackbirdagency/magento2-extensions-isgenerator/
Once the repository added, run the two following commands:
composer require blackbird/installschemagenerator
php bin/magento setup:upgrade
Thomas Klein (Blackbird team member)
Blackbird Policy (https://store.bird.eu/license)