Skip to content

Commit fd86e56

Browse files
committed
Merge pull request #216 from NoUseFreak/installation
Update installation instructions.
2 parents 8df72e2 + 2d7bf97 commit fd86e56

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

+4-10
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,13 @@ Installation
6363

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

68-
```json
69-
{
70-
"require": {
71-
"willdurand/hateoas": "@stable"
72-
}
73-
}
68+
```sh
69+
composer require willdurand/hateoas
7470
```
7571

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

8074
Otherwise, install the library and setup the autoloader yourself.
8175

0 commit comments

Comments
 (0)