File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed
Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change 11# Installation
22
3- The recommended way to install Ladybug is through [ Composer] ( http://packagist.org/about-composer ) . Just create a `composer.json file for your project:
4-
5- ``` json
6- {
7- "require" : {
8- "raulfraile/ladybug" : " ~1.0"
9- }
10- }
11- ```
12- To actually install Ladybug in your project, download the composer binary and run it:
3+ The recommended way to install Ladybug is through [ Composer] ( http://packagist.org/about-composer ) .
4+
5+ Download the composer binary:
136
147``` bash
158wget http://getcomposer.org/composer.phar
169# or
1710curl -O http://getcomposer.org/composer.phar
11+ ```
1812
19- php composer.phar install
13+ Now, install Ladybug with Composer:
14+
15+ ``` bash
16+ composer.phar require raulfraile/ladybug
2017```
2118
22- After running the ` install ` command, a new directory called 'vendor' will contain the Ladybug code, as well as all
19+ After running the ` require ` command, a new directory called 'vendor' will contain the Ladybug code, as well as all
2320the required dependencies.
2421
2522Once added the autoloader you will have access to the library:
You can’t perform that action at this time.
0 commit comments