dev-master
9999999-dev https://github.com/evNN/LessServiceProviderLESS service provider for the Silex µframwork.
MIT
The Requires
- php >=5.3.0
- cypresslab/less-elephant dev-master
by Evan Dudla
css silex less
Wallogit.com
2017 © Pedro PelĆ”ez
LESS service provider for the Silex µframwork.
This is a Service Provider for the Silex PHP microframework to add the ability to compile LESS files within your project. It leverages the [LessElephant] (https://github.com/matteosister/LessElephant) project to do this., (*1)
You can install this using Composer by adding the following to your
composer.json file in your project root:, (*2)
``` json "evNN/less-service-provider": "dev-master", (*3)
And update your project via Composer: ``` bash $ php composer.phar update
You must add the following to register the namespaces for both the LessElephant and the
LessServiceProvider components:, (*4)
php
$app['autoloader']->registerNamespace('evNN', __DIR__ . '/vendor/evNN/less-service-provider/src');
$app['autoloader']->registerNamespace('LessElephant', __DIR__ . '/vendor/cypresslab/less-elephant/src');
$app['autoloader']->registerNamespace('Symfony\\Component\\Finder', __DIR__ . '/vendor/symfony/finder');
$app['autoloader']->registerNamespace('Symfony\\Component\\Process', __DIR__ . '/vendor/symfony/process');, (*5)
LESS service provider for the Silex µframwork.
MIT
css silex less