Database migrations and sync tools for PHP

v0.5.7 2016-11-09 20:44 UTC

This package is auto-updated.

Last update: 2023-03-18 02:13:31 UTC


Yak is a command-line database migration tool written in PHP and designed to interact with MySQL 5.0 and above. It requires PHP 5.3.x with PDO_MySQL installed. Yak is written with Symfony2 Console.


Yak is distributed as an excutable Phar file with all of it's dependencies bundled. Once you install it initally, the "update-yak" command can keep you up to date. To get your initial install, run the following command in the folder where you'd like Yak to be installed (I recommend /usr/local/bin):

curl | php


Yak's usage is well documented in the command line help interface.

  • To list available commands, just run "yak"
  • For help on a specific command, run "yak help [command]"