<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 15:12:47 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Dave Marshall's Blog: Phpmig - Simple migrations for php]]></title>
      <guid>http://www.phpdeveloper.org/news/17072</guid>
      <link>http://www.phpdeveloper.org/news/17072</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Dave Marshall</i> shares a <a href="http://davedevelopment.co.uk/2011/11/01/phpmig-simple-migrations-for-php.html">homegrown migration tool</a> he's created to help make database migrations a simpler task - <a href="http://github.com/davedevelopment/phpmig">phpmig</a>.
</p>
<blockquote>
I've previously blogged about <a href="http://davedevelopment.co.uk/how-to-simple-database-migrations-with-phing-and-dbdeploy.html">migrations with phing and dbdeploy</a> and also <a href="http://davedevelopment.co.uk/notes-from-porting-ruby-to-php.html">porting ActiveRecord::Migrations to PHP</a>, now here I am again blogging about yet another way of doing migrations in PHP projects. Only maybe this time it's different, maybe this time I've found a way I'm happy with...? <a href="http://github.com/davedevelopment/phpmig">Phpmig</a> is a simple migrations system that was written to be easily adopted regardless of the framework or libraries you are using. It requires a little bit of setting up, but if you know you should be using migrations, you're probably more than capable.
</blockquote>
<p>
He's worked up a sample application to show you how to get things set up and working - a basic <a href="http://silex.sensiolabs.org/">Silex</a>-based application. Phpmig is used to create a basic bootstrap for the deployment that includes the use of <a href="https://github.com/fabpot/Pimple">Pimple</a> for dependency injection and a command-line interface to generate a migration skeleton class for the up/down methods. The source for phpmig can be <a href="https://github.com/davedevelopment/phpmig">found on github</a>.
</p>]]></description>
      <pubDate>Tue, 01 Nov 2011 13:19:02 -0500</pubDate>
    </item>
  </channel>
</rss>
