Skip to content

Commit 5c27eb1

Browse files
committed
Merge pull request #66 from pgodel/patch-1
Updated Composer installation instructions
2 parents 1fb3682 + 1479422 commit 5c27eb1

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

doc/installation.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
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
158
wget http://getcomposer.org/composer.phar
169
# or
1710
curl -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
2320
the required dependencies.
2421

2522
Once added the autoloader you will have access to the library:

0 commit comments

Comments
 (0)