Take a look at some of the build process tools that are available: Phing: http://phing.info/trac/ Capistrano: http://www.capify.org/ Ant: http://ant.apache.org/ Maven: http://maven.apache.org/ And a list of more options: http://en.wikipedia.org/wiki/List_of_build_automation_software -e