Download the PHP package hellogerard/less-slim-middleware without Composer
On this page you can find all versions of the php package hellogerard/less-slim-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hellogerard/less-slim-middleware
More information about hellogerard/less-slim-middleware
Files in hellogerard/less-slim-middleware
Download hellogerard/less-slim-middleware
More information about hellogerard/less-slim-middleware
Files in hellogerard/less-slim-middleware
Vendor hellogerard
Package less-slim-middleware
Short Description Slim Framework middleware to compile LESS CSS files on-the-fly. Supports minification and caching.
License MIT
Homepage https://github.com/hellogerard/less-slim-middleware
Package less-slim-middleware
Short Description Slim Framework middleware to compile LESS CSS files on-the-fly. Supports minification and caching.
License MIT
Homepage https://github.com/hellogerard/less-slim-middleware
Please rate this library. Is it a good library?
Informations about the package less-slim-middleware
This Slim Framework middleware will compile
LESS CSS files on-the-fly using the
Assetic
library. It supports
minification and caching, also via Assetic
.
It will intercept requests for CSS files and attempt to find a corresponding
LESS file. If one is found, it will compile the file to CSS and serve it,
optionally saving the CSS to a filesystem cache. Inspired by
less.js-middleware
.
Usage
src
- Directory to look for LESS files. REQUIRED Example: ifsrc
is set to/path/to/public
, and a request forhttp://mysite.com/css/style.css
is received, then it will look for a LESS file in/path/to/public/css/style.less
.cache
- Cache CSS file to filesystem. Default istrue
.cache.dir
- Directory for the cached CSS file. Default issrc
.minify
- Minify the CSS output. Default istrue
.debug
- Send debug messages to Slim Logger. Default isfalse
.
Example:
All versions of less-slim-middleware with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
kriswallsmith/assetic Version 1.1.*@dev
oyejorge/less.php Version ~1.5
natxet/cssmin Version dev-master#9801e2a0de7ae252ca4f2b85542d75a82047a8b4
kriswallsmith/assetic Version 1.1.*@dev
oyejorge/less.php Version ~1.5
natxet/cssmin Version dev-master#9801e2a0de7ae252ca4f2b85542d75a82047a8b4
The package hellogerard/less-slim-middleware contains the following files
Loading the files please wait ....