evnn/less-service-provider
Composer 安装命令:
composer require evnn/less-service-provider
包简介
LESS service provider for the Silex µframwork.
README 文档
README
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.
Installation
You can install this using Composer by adding the following to your
composer.json file in your project root:
"evNN/less-service-provider": "dev-master"
And update your project via Composer:
$ php composer.phar update
Important
You must add the following to register the namespaces for both the LessElephant and the
LessServiceProvider components:
$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');
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-03-26