What are some recommendations for a build tool that would allow me to upload changes to a web server or a repository and minify the js and css automatically, and possibly even run Closure compiler on the JavaScript?

I'm not worried about doing anything with the php code other than update with most recent changes although in the future would like to have phpdoc updated automatically.

Just wondering if there is some way to do all this other than an amalgam of scripts that run or have to be invoked every time?

  • Maven for PHP can do most of what you need. Haven't used it a while though, so don't treat this as an answer.
    – yannis
    Commented Mar 28, 2012 at 7:03
  • One of the more 'popular' build tools is Phing.
    – Agilix
    Commented Mar 28, 2012 at 8:13

1 Answer 1


The way I read this it sounds like you looking for a Continuous Integration server. You could leverage something like Hudson or phpUnderControl allowing you the flexibility to use almost any pre-build and deployment tools you want. And builds can be scheduled or run as required.

A quick Google search should get you started.


If all the flexibility, automation and the bells and whistles are not required you could consider using Phing. This article is a good place to start.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.