Download the PHP package cypresslab/less-elephant without Composer
On this page you can find all versions of the php package cypresslab/less-elephant. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cypresslab/less-elephant
More information about cypresslab/less-elephant
Files in cypresslab/less-elephant
Package less-elephant
Short Description A library to manage a less project with PHP
License GPL3
Homepage http://matteosister.github.com/LessElephant
Informations about the package less-elephant
LessElephant
A wrapper for the less binary written in PHP
Requirements
- php >= 5.3
- *nix system with less (lessc binary) installed
Dependencies
for tests
Installation
composer
To install LessElephant with composer you simply need to create a composer.json in your project root and add:
Then run
You have now LessElephant installed in vendor/cypresslab/lesselephant
And an handy autoload file to include in you project in vendor/.composer/autoload.php
pear
Add the Cypresslab channel
And install the package. By now LessElephant is in alpha state. So remember the -alpha in the library name
On Cypresslab pear channel homepage you can find other useful information
Testing
The library is tested with PHPUnit.
Go to the base library folder and run the test suites
Code style
- LessElephant follows the Symfony2 Coding Standard
- I'm using gitflow so, if you want to contribute, please send a pull-request on develop branch
How to use
Remember to give the user the right permissions to access the filesystem. If you are using a web server give permissions to both your user and the web server user.
constructor
manage a less project
Staleness Checker
LessElephant checks if the project need to be compiled with the awesome Symfony Finder component, by scanning your source less folder
Symfony2
LessElephantBundle let symfony do the work for you
All versions of less-elephant with dependencies
symfony/process Version >=2.0,<2.4-dev
symfony/finder Version >=2.0,<2.4-dev