Install Schema Generator

Install Schema Generator



Magento Platform
Open Source (CE)
2.0, 2.1

Tech Specifications

Current Version:
Stable Build
04 July, 2017
Extensions, Site Optimization, Performance
License Type:


Install Schema Generator (ISG) is a development tool destined to speed up the table setup script creation of a Magento 2 module.

Other Extensions by Blackbird


Back to top

This project is a developer tool designed to speed up the table creation scripts of a Magento 2 module. The purpose of this project is to make it 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

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...]


-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


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": ""

The above can also be added via the composer cli with the command:

composer config repositories.blackbird_isg vcs

Once the repository added, run the two following commands:

composer require blackbird/installschemagenerator
php bin/magento setup:upgrade

Release Notes

Back to top


  • Compatible with Open Source (CE) : 2.0 2.1
  • Stability: Stable Build
  • Description:

    Refactor the application
    Add a CLI command to generate the InstallSchema.php class file


Back to top
The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Q & A

Back to top


Back to top