The project 'PHP Build Manager' contains a small set of ant scripts which can be utilized within your PHP-Projects.