PHPackages                             kimcastle/laravel5-lessphp - 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. kimcastle/laravel5-lessphp

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

kimcastle/laravel5-lessphp
==========================

Bringing lessphp into Laravel

1.1.3(8y ago)01121[3 PRs](https://github.com/kimcastle/laravel5-lessphp/pulls)MITPHPPHP &gt;=5.5.0

Since Jun 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/kimcastle/laravel5-lessphp)[ Packagist](https://packagist.org/packages/kimcastle/laravel5-lessphp)[ RSS](/packages/kimcastle-laravel5-lessphp/feed)WikiDiscussions 1.1.3 Synced 1w ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

laravel5-lessphp
================

[](#laravel5-lessphp)

lessphp is a compiler for LESS by PHP

(1) First, pull in the package through Composer.

```
"require": {
    "kimcastle/laravel5-lessphp": "1.0.0"
}
```

(2) And then, if using Laravel 5, include the service provider within config/app.php.

```
'providers' => [
    "Kimcastle\Laravel5Less\LessServiceProvider::class"
];
```

In the aliases section, add:

```
'Less' => Kimcastle\Laravel5Less\Facades\Less::class
```

(3) Uage

Within your models or controllers, you can perform modification to the outputted CSS. Here are some examples:

```
use Kimcastle\Laravel5Less\Facades\Less;

class TestController extend Controller
{
     public function less()
     {
          Less::modifyVars(['@externalBgColor' => 'red'])->compile('less_test');

          Less::modifyVars(['@externalBgColor' => '#ff0001'])->url('less_test', true);
     }
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

3255d ago

Major Versions

0.1.x-dev → 1.1.22017-06-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/acd73b8acc12f98d05cb1022e1bbb6a0882bbd25238296d9fd9cb074297b0359?d=identicon)[kimcastle](/maintainers/kimcastle)

---

Top Contributors

[![kimcastle](https://avatars.githubusercontent.com/u/2201158?v=4)](https://github.com/kimcastle "kimcastle (7 commits)")

---

Tags

phplaravelless

### Embed Badge

![Health badge](/badges/kimcastle-laravel5-lessphp/health.svg)

```
[![Health](https://phpackages.com/badges/kimcastle-laravel5-lessphp/health.svg)](https://phpackages.com/packages/kimcastle-laravel5-lessphp)
```

###  Alternatives

[amranidev/laracombee

Recommendation system for laravel

11636.7k1](/packages/amranidev-laracombee)[mmanos/laravel-casset

An asset management package for Laravel 4.

102.6k](/packages/mmanos-laravel-casset)[wujunze/money-wrapper

MoneyPHP Wrapper

113.8k](/packages/wujunze-money-wrapper)

PHPackages © 2026

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