It is good but how can you integrate it with your CakePHP project? And solution comes with the question :).
Download a copy of combine.php and drop it into your “app/webroot” directory (or whatever your application folder name is XXX/webroot/).
Open the file in your text editor and change lines:
$cachedir = dirname(__FILE__) . '/../tmp/cache'; $cssdir = dirname(__FILE__) . '/css'; $jsdir = dirname(__FILE__) . '/js';
Open your “app/webroot/.htaccess” file and add those two lines