Is there a PHP equivalent for compass?

From my point of view, Compass only works with Ruby. Is there a PHP equivalent for compass?

+7
css php compass-sass
source share
2 answers

Compass really works great for PHP projects. I used it for several CakePHP and Symfony projects. The compass is built with Ruby, so you need Ruby on your computer, but it compiles into plain old CSS. If you have Ruby (and RubyGems) installed, just install Compass gem and you should be ready to go. Earlier versions of Compass used Ruby-style syntax, but I understand that later versions use a more CSS-like option.

If you have not already done so, start with the documentation where installation is discussed in more detail.

+15
source share

PHAMLP is the php port of Sass and Compass:

http://code.google.com/p/phamlp/ or https://github.com/bluelovers/PHamlP

PHPSass is the PHamlP update port that conforms to the SASS v3.1.1.5 specification:

http://www.phpsass.com/ or https://github.com/richthegeek/phpsass

+3
source share

All Articles