File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 1010[ ![ composer.lock] ( https://poser.pugx.org/eugene-matvejev/css-compiler/composerlock )] ( https://packagist.org/packages/eugene-matvejev/css-compiler )
1111
1212
13- # PHP CSS Compiler
13+ # PHP CSS compiler with composer handler
1414_ can be triggered from composer's script's section: compiles SCSS with compass|LESS_
1515
16- # How to use:
17- ```
18- composer require "eugene-matvejev/css-compiler"
19- ```
16+ ## how to use
17+ ` composer require eugene-matvejev/css-compiler `
2018
21- ### add callback into into composer's __ scripts__ :
22- ```
23- "EM\\CssCompiler\\ScriptHandler::generateCSS"
24- ```
25- _ example_ :
19+ ### add callback into into composer's __ scripts__
20+ ` "EM\\CssCompiler\\ScriptHandler::generateCSS" `
21+
22+ _ example_
2623```
2724"scripts": {
2825 "post-update-cmd": "@custom-events",
@@ -32,12 +29,13 @@ _example_:
3229 ]
3330}
3431```
32+
3533### add _ css-compiler_ information inside of the _ extra_ composer configuration
3634 * _ format_ : compression format
3735 * _ input_ : array of relative paths to the composer.json, all files will be picked up recursivly inside of the directory
38- * _ output_ : relative file path to the composer.json, where to save output (hard-copy)
36+ * _ output_ : relative file path to the composer.json, where to save output (hard-copy)
3937
40- _ example_ :
38+ _ example_
4139```
4240"extra": {
4341 "css-compiler": [
You can’t perform that action at this time.
0 commit comments