PHPackages                             bcremer/sculpin-less-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. bcremer/sculpin-less-bundle

ActiveLibrary

bcremer/sculpin-less-bundle
===========================

Sculpin less bundle

0.3.0(3y ago)65.3k2MITPHPPHP &gt;=7.4.0

Since Jun 8Pushed 3y ago3 watchersCompare

[ Source](https://github.com/bcremer/sculpin-less-bundle)[ Packagist](https://packagist.org/packages/bcremer/sculpin-less-bundle)[ RSS](/packages/bcremer-sculpin-less-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Sculpin Less Bundle
===================

[](#sculpin-less-bundle)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

[Sculpin](http://sculpin.io) bundle that integrates the [wikimedia/less.php](https://github.com/wikimedia/less.php) LESS processor.

Each `*.less` file is parsed to CSS. If the parser generated any CSS output the file is renamed to `*.css` in place. If the parser did not generate any valid CSS output the `*.less` file will be ignored.

Future scope
------------

[](#future-scope)

This is a POC implementation. In the future this may be extended to include advanced configurations to have a separate output directory for the generated `*.css` files as well as compression for example. Eventually this may result in a CSS processor bundle that supports multiple processors like `SASS` as well.

Please create an issue on GitHub if you have any ideas. All contributions are welcomed.

Installation
------------

[](#installation)

- Add the following to your `sculpin.json` file:

```
{
    "require": {
        "bcremer/sculpin-less-bundle": "~0.2"
    }
}
```

- Run `sculpin update`.
- Add the bundle to your kernel `app/SculpinKernel.php`:

```
