Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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 Mar 28 '12 at 7:03
One of the more 'popular' build tools is Phing. – Agilix Mar 28 '12 at 8:13
up vote 2 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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