maka/less4laravel

jtgrimes/less4laravel package transition leafo/lessphp to oyejorge/less.php

dev-master 2015-02-07 15:24 UTC

This package is not auto-updated.

Last update: 2024-11-19 17:06:13 UTC


README

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