https://github.com/remithomas/rt-less
Less css for ZF2
https://github.com/remithomas/rt-less
Last synced: about 2 months ago
JSON representation
Less css for ZF2
- Host: GitHub
- URL: https://github.com/remithomas/rt-less
- Owner: remithomas
- Created: 2014-04-13T22:10:37.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-20T02:15:06.000Z (almost 12 years ago)
- Last Synced: 2025-08-04T17:30:40.445Z (10 months ago)
- Language: PHP
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
rt-less
==========
Less Css for ZF2 php using http://lessphp.gpeasy.com https://github.com/oyejorge/less.php
---------------------------------------
# Installation
---------------------------------------
## How to install ?
### Using composer.json
```json
{
"name": "zendframework/skeleton-application",
"description": "Skeleton Application for ZF2",
"license": "BSD-3-Clause",
"keywords": [
"framework",
"zf2"
],
"minimum-stability": "dev",
"homepage": "http://framework.zend.com/",
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "dev-master",
"remithomas/rt-less": "dev-master"
}
}
```
### Activate the module :
application.config.php
```php
array(
'Application',
'RtLess',
)
);
?>
```
# Configuration
## Cache
Create a folder in your public directory, named "cache"
## config
move RtLess/config/rt-less.local.dist.php to your /config/autoload/rt-less.local.php
And config as you want
# Layout
lessCss("less/epragma/epragma.less"); ?>
# Thanks
- https://github.com/oyejorge/less.php