maka54 / less4laravel by maka

jtgrimes/less4laravel package transition leafo/lessphp to oyejorge/less.php
41
0
2
Package Data
Maintainer Username: maka
Maintainer Contact: 54.maka@gmail.com (maka)
Package Create Date: 2015-01-23
Package Last Update: 2015-02-07
Language: PHP
License: MIT
Last Refreshed: 2024-04-18 15:00:26
Package Statistics
Total Downloads: 41
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

jtgrimes/less4laravel Alternative

This is an alternative issue to use oyejorge/less.php instead of leafo/lessphp with this package jtgrimes/less4laravel https://github.com/jtgrimes/less4laravel

Usage is same

All Changes here :

Installation

Add maka\less4laravel as a requirement to composer.json:

{
    "require": {
        "Maka/less4laravel": "dev-master"
    }
}

Update your packages with composer update or install with composer install.

Once Composer has installed or updated your packages you need to register Less4Laravel with Laravel itself. Open up app/config/app.php and find the providers key towards the bottom and add:

'Maka\Less4laravel\LessServiceProvider'

In the aliases section, add:

'Less'	=>	'Maka\Less4laravel\LessFacade'

Configuration

In order to work with the configuration file, you're best off publishing a copy with Artisan:

$ php artisan config:publish maka/less4laravel