A MySQL schema generator in PHP
Schematic is a command line tool for managing and migrating database schemas.
By default you can use JSON or YAML in the Schematic format to generate a database easily, there is also an in-built function which can map an existing database to configuration files, in essence backing up your database. Schematic schemas are meant to be kept within your VCS allowing you to keep track of your database changes, and used in conjunction with a tool like Capistrano become extremely powerful.
Add the following to your composer file.
$ wget https://github.com/andrefigueira/Schematic/raw/master/schematic.phar
$ chmod +x schematic.phar
$ mv schematic.phar /usr/local/bin/schematic
Then Schematic is ready to use!
$ schematic
Lovingly crafted by @andrefigueira