Cartalyst LLC.
Assetic-filters by Cartalyst
0
8
0
5
5

Introduction

Our assetic filters are a (growing) list of filters which enhance Assetic and can make your job easier as a developer, meaning you can get home earlier. Good, right?

We currently have the following filters:

  1. SASS PHP Compiler
  2. LESS PHP Compiler

Installation

The best and easiest way to install the assetic filters package is with Composer.

Preparation

Open your composer.json file and add the following to the require array:

"cartalyst/assetic-filters": "^6.0"

Install the dependencies

Run Composer to install or update the new requirement.

php composer install

or

php composer update

Now you are able to require the vendor/autoload.php file to autoload the package.

Usage

SASS PHP Compiler

Like the logic behind CoffeeScript, we would like people to get up and running with the predecessor to SCSS, known as SASS with ease. Rather than install a ruby gem, simply pass an instance of Cartalyst\AsseticFilters\SassphpFilter to your assetic filters and you're done.

LESS PHP Compiler

Like the logic behind CoffeeScript, we would like people to get up and running with LESS with ease. Rather than install a ruby gem, simply pass an instance of Cartalyst\AsseticFilters\LessphpFilter to your assetic filters and you're done.

You wont find fancy lifestyle graphics and marketing bravado here. Just cold... hard... code...

Code Well, Rock On!
Processing Payment...