Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reisraff/phulp-less-compiler

The less-compiler addon for phulp
https://github.com/reisraff/phulp-less-compiler

compiler-addon less less-compiler php phulp phulpplugin

Last synced: 3 months ago
JSON representation

The less-compiler addon for phulp

Awesome Lists containing this project

README

        

# phulp-less-compiler

The less-compiler addon for [PHULP](https://github.com/reisraff/phulp). It's a wrapper for [less.php](https://github.com/oyejorge/less.php).

## Install

```bash
$ composer require reisraff/phulp-less-compiler
```

## Usage

```php
task('less', function ($phulp) {
$phulp->src(['src/'], '/css$/')
// compile
->pipe(new LessCompiler)
// write your compiled files
->pipe($phulp->dest('dist/'));
});

```

### Options

***URI*** : The uri root to prepend to any relative image or @import urls in the .less file.

```php
'../../'
]);

```