Skip to content

Commit

Permalink
Merge pull request #216 from NoUseFreak/installation
Browse files Browse the repository at this point in the history
Update installation instructions.
  • Loading branch information
willdurand committed Oct 18, 2015
2 parents 8df72e2 + 2d7bf97 commit fd86e56
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,13 @@ Installation

The recommended way to install Hateoas is through
[Composer](http://getcomposer.org/). Require the `willdurand/hateoas` package
into your `composer.json` file:
by running the following command:

```json
{
"require": {
"willdurand/hateoas": "@stable"
}
}
```sh
composer require willdurand/hateoas
```

**Protip:** you should browse the
[`willdurand/hateoas`](https://packagist.org/packages/willdurand/hateoas)
page to choose a stable version to use, avoid the `@stable` meta constraint.
This will resolve the latest stable version.

Otherwise, install the library and setup the autoloader yourself.

Expand Down

0 comments on commit fd86e56

Please sign in to comment.