Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lukasz Kujawa:
Deploying PHP applications with Phing
Apr 11, 2013 @ 16:44:43

Lukasz Kujawa has a new post to his site introducing you to deployment of your web-based PHP applications using the Phing build tool.

How many steps are required to deploy your software? Some people say it shouldn’t be more than one. I’m little bit more relaxed about it so I would say two steps are still fine. If it takes more than two then most likely you need a build script. [...] Phing is a PHP project build system or build tool based on ​Apache Ant. You can do anything with it that you could do with a traditional build system like GNU make. It use simple XML build files and extensible PHP “task” classes.

He shows how to get it installed via Composer and how to create a simple "build.xml" file with a few targets inside. He shows how to use the "build.properties" configuration file and how to set them from the command line if needed. He also includes details on doing database migrations using the "dbdeploy" tasks.

tagged: deployment phing deployment application introduction

Link: http://systemsarchitect.net/deploying-php-applications-with-phing


Trending Topics: