📜 ⬆️ ⬇️

SASS PHP extension

Recently I came across an interesting article about Python-binding for libsass , in which I learned about the existence of such a wonderful library as libsass (the implementation of Rubiv sass in C ++). Having experience in writing PHP extensions, I decided to make a SASS / SCSS handler using libsass. You can find the source code for the extension here - sass-php .

The extension consists of two parts:

A detailed description of these classes is provided in the stub comments.
libsass is still evolving and therefore part of the declared functionality may not work yet (see readme) just as the tests revealed, some script functions are not working yet. It should be noted that the extension build was tested on ubuntu with php-5.3.8 and php-5.4.

If anyone does not know what SASS is, then you are here .

')

Source: https://habr.com/ru/post/145603/


All Articles