A MySQL database structure dumping tool

v0.4 2019-12-09 13:14 UTC

This package is auto-updated.

Last update: 2021-07-10 11:50:38 UTC


A database structure dumping tool. It dumps tables structure, views, triggers, functions and procedures.


  1. Add Dbtool to your project using Composer:
$ composer require --dev filsedla/dbtool
  1. Create a script to run dbtool located somewhere inside your project, e.g. <project_root>/tools/db/dbtool.php.

See the example subdirectory for two commented versions, for a nette-based project or other project.


Manually run the above script each time you update your project's database structure. The idea is to commit complete database structure dumps to your VCS so that the database structure is 'versioned' together with changes in the project code.