2017 © Pedro Peláez
 

library less

LESS compiler for Laravel 4

image

vtalbot/less

LESS compiler for Laravel 4

  • Sunday, July 7, 2013
  • by vtalbot
  • Repository
  • 1 Watchers
  • 3 Stars
  • 533 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

LESS Compiler for Laravel 4

Installation

Add to your composer.json those lines, (*1)

"require": {
    "vtalbot/less": "1.*"
}

Run php artisan config:publish vtalbot/less, (*2)

Then edit config.php in app/packages/vtalbot/less to your needs., (*3)

Update app/config/app.php with:, (*4)

'providers' => array(
    ...
    'VTalbot\Less\LessServiceProvider',
),

...

'aliases' => array(
    ...
    'Less'            => 'VTalbot\Less\Facades\Less',
),

Usage

<link rel="stylesheet" href="css/test.css">

If css/test.css doesn't exists in the public directory, it will search for test.less in app/less (changeable in config.php) directory. If found, compile it if needed and return the result., (*5)

Less::make('file-in-less-directory');

Changelog

1.2

  • Changed configuration prefix to an array to check more than one path
  • Clean up

1.1

  • Check if a change has occured in imported less files

The Versions

07/07 2013

dev-master

9999999-dev

LESS compiler for Laravel 4

  Sources   Download

MIT

The Requires

 

laravel illuminate less

07/07 2013

1.2

1.2.0.0

LESS compiler for Laravel 4

  Sources   Download

MIT

The Requires

 

laravel illuminate less

19/01 2013

1.1

1.1.0.0

LESS compiler for Laravel 4 (Illuminate)

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel illuminate less

13/01 2013

1.0

1.0.0.0

LESS compiler for Laravel 4 (Illuminate)

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel illuminate less