Search code examples
phpversion-controlbuild-process

PHP source control and build system


I've got a PHP application which I help to maintain with one other person. The current process is very 'loose' - files are sometimes updated directly on the server, or on a local machine then copied up manually.

I'm familiar with SVN, but perhaps this isn't the best choice for this type of hosted application?

Basically, what I want is a system that will keep track of any or all changes to files (version control), and will make a package (even just a zip) file, of changed files that I can deploy. The main point here is I want a record of any work done, and the ability to rollback source changes.

Is there anything like this that exists for PHP developers?


Solution

  • Subversion is a fine way to maintain source control for this sort of project.

    However, it sounds like you are trying to do a deployment (based on a recorded change). For that, you want something like Capistrano or maybe Fabric.