Skip to content

Commit

Permalink
Updated install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Graham Campbell committed May 31, 2015
1 parent 93a7bbd commit 5dbde15
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,30 +39,48 @@ Run these commands to install composer, the library and its dependencies:

```bash
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar require toin0u/digitalocean-v2:0.3.*@dev
$ php composer.phar require toin0u/digitalocean-v2:~1.0
```

You then need to install **one** of the following:
```bash
$ php composer.phar require kriswallsmith/buzz:~0.10
$ php composer.phar require guzzle/guzzle:~3.7
$ php composer.phar require guzzlehttp/guzzle:~5.0
```

Or edit `composer.json` and add:

```json
{
"require": {
"toin0u/digitalocean-v2": "0.3.*@dev",
"toin0u/digitalocean-v2": "~1.0"
}
}
```

And then add **one** of the following:

```json
{
"require": {
"kriswallsmith/buzz": "~0.10",
"guzzle/guzzle": "~3.7",
"guzzlehttp/guzzle" : "~5.0"
}
}
```

Please note that installing both guzzle and buzz is not required, but you must choose at least one.
### Using Laravel? ###

Finally run:
[Laravel DigitalOcean](https://github.com/GrahamCampbell/Laravel-DigitalOcean) by [Graham Campbell](https://github.com/GrahamCampbell) might interest you.

```bash
$ php composer.phar require toin0u/digitalocean-v2
```json
{
"require": {
"graham-campbell/digitalocean": "~1.0"
}
}
```

### Using Symfony2? ###
Expand Down Expand Up @@ -129,18 +147,6 @@ $droplets = $this->container->get('do.droplet')->getAll();

> This is helpful for a child of `Symfony\Bundle\FrameworkBundle\Controller\Controller` user to use by `$this->get('do.droplet')->getAll()`
### Using Laravel? ###

[Laravel DigitalOcean](https://github.com/GrahamCampbell/Laravel-DigitalOcean) by [Graham Campbell](https://github.com/GrahamCampbell) might interest you.

```json
{
"require": {
"graham-campbell/digitalocean": "0.1.*"
}
}
```

Adapter
-------

Expand Down

0 comments on commit 5dbde15

Please sign in to comment.