From my understanding, Compass only works with Ruby. Is there a PHP equivalent to Compass?
+8
A:
Compass actually works great for PHP projects. I've used it on several CakePHP and Symfony projects. Compass is built with Ruby, so you need Ruby on your machine, but it compiles to plain old CSS. If you have Ruby (and RubyGems) installed, just install the Compass gem and you should be ready to go. Earlier versions of Compass used a Ruby-style syntax, but my understanding is that later versions have adopted a more CSS-like option.
If you haven't already, start with the documentation where installation is discussed in more detail.
Rob Wilkerson
2010-06-14 10:59:15
Ha! I hadn't really considered using PHP and Ruby together. Makes sense, thanks!
Bryan Downing
2010-06-14 17:54:33
Yes, it is ruby as compile time dependency, but not as runtime dependency. Ruby projects can actually skip the compilation by making its web framework compile things as needed (several plugins are provided for Sinatra, Rails and others.)
Daniel Ribeiro
2010-08-21 22:25:06
I am working on Compass Extensions to support Drupal, since i find them both to work out really great. Just compile before uploading.
barraponto
2010-10-17 23:52:35