PHPackages                             berbecki/laless - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. berbecki/laless

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

berbecki/laless
===============

Simple LESS compiler for Laravel

01.4k[1 issues](https://github.com/berbecki/laless/issues)PHP

Since Feb 11Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

LaLess (Laravel4 Package)
=========================

[](#laless-laravel4-package)

LaLess is a Simple LESS compiler for Laravel 4 based on a PHP port (Less.php / oyejorge/less.php) of the official LESS processor .

Quick start
-----------

[](#quick-start)

### Required setup

[](#required-setup)

In the `require` key of your `composer.json` app file add the following line:

```
"berbecki/laless": "dev-master"

```

Then, run in terminal the Composer update comand:

```
$ composer.phar update

```

In your `config/app.php` add line `'Berbecki\Laless\ServiceProvider'` to the end of the `$providers` array

```
'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'Berbecki\Laless\ServiceProvider',

),

```

**You are ready to go!** Your application will now compile your LESS files when needed.

### Configuration (is optional but recommended)

[](#configuration-is-optional-but-recommended)

By default, Laless will consider the directory `public/assets/less` as the input and `public/assets/css` for the output. But if you wish to change these values simply publish the package config files:

```
$ php artisan config:publish berbecki/laless

```

and define the `origin` and `destination` keys in `config/packages/berbecki/laless/config.php`. For example:

```
// config/packages/berbecki/laless/config.php

// Paths should be relative to app folder.
'origin'        => 'mylessfiles',
'destination'   => '../public/mycss',

```

### Console usage

[](#console-usage)

If for some reason you need to force the compilation of LESS files (ex: in production environment), its possible through the command:

```
$ php artisan laless:compile

```

License
-------

[](#license)

Laless is a free software distributed under the terms of the MIT license

Aditional information
---------------------

[](#aditional-information)

If you have a questions, feel free to contact with me.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ff51892928caaf7a9bda064b2b1c5489b3801afc12a50a3d7a0a3def852da2d?d=identicon)[berbecki](/maintainers/berbecki)

---

Top Contributors

[![berbecki](https://avatars.githubusercontent.com/u/989676?v=4)](https://github.com/berbecki "berbecki (10 commits)")

### Embed Badge

![Health badge](/badges/berbecki-laless/health.svg)

```
[![Health](https://phpackages.com/badges/berbecki-laless/health.svg)](https://phpackages.com/packages/berbecki-laless)
```

###  Alternatives

[yangm97/elementor-pro

It’s about time for a live page builder, with no limits of design. A page builder that delivers high-end page designs and advanced capabilities, never before seen on WordPress. It’s time for Elementor Page Builder.

5013.5k](/packages/yangm97-elementor-pro)[heartsentwined/zf2-cron

ZF2 cron module

606.8k](/packages/heartsentwined-zf2-cron)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
