Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add composer installation instructions.
  • Loading branch information
damonjones committed Apr 28, 2013
1 parent 38954b7 commit f01752b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,38 @@ Requirements
PHP 5.3+<br />
The [Buzz](http://github.com/kriswallsmith/Buzz/) lightweight HTTP Request library.

Recommended installation method (using the Composer dependency manager)
-----------------------------------------------------------------------

If you are starting a new project, or if your existing project does not use composer, download and install it:

curl -s http://getcomposer.org/installer | php

Create a new composer.json file with this library as a dependency:

```json
{
"require": {
"ydd/vebra": "*@dev"
}
}
```

If your project is already using composer then edit the composer.json file in your project and add this library as a dependency, as shown above.

Install your project dependencies using composer:

php composer.phar install

Require the composer autoloader in your script or bootstrap code:
```php
<?php

require 'vendor/autoload.php';
```

For more information on composer, see the [composer](http://getcomposer.org) website.

Authentication
--------------

Expand Down

0 comments on commit f01752b

Please sign in to comment.