Ladder

A PHP database migration tool.

About Ladder

Ladder is a database migration system for MySQL databases, written in PHP.

It aims to be powerful and flexible, and also has support for the excellent Kohana Framework.

What's A Migration System?

You keep your source code in a version control system like Mercurial, Git, or Subversion, right? Well, how do you track (and monitor) the state of your database along with that code? That's the problem Ladder aims to solve.

By keeping its state in the database (using a configurable table), Ladder allows multiple developers to work on the same database, without overwriting each others changes.

Usage

Ladder will show what commands are availble when you run it with no parameters. To get a copy, head over to the Source page. Once you've downloaded it, take a copy of ladder.php.sample, name it ladder.php, follow the same procedure with the sample files in the config/ directory. Open up the files you just created, and plug your details in.

Notes

Ladder's Kohana integration is currently limited to the v2.3.4 release, but my TODO list contains an item to bring this up to date with v3.x.