Skip to content

Commit 3edc588

Browse files
author
Connor Graham
committed
updated instructions for packagist
1 parent 03ad5c2 commit 3edc588

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Resources/doc/01-installation.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ Setting up FOSMessageBundle
77
> interfaces which can be swapped out if you're not using FOSUserBundle. See
88
> [Using other UserBundles][] for more information.
99
10-
~~The first step is to tell composer that you want to download FOSMessageBundle which can
11-
be achieved by typing the following at the command prompt:~~
10+
The first step is to tell composer that you want to download FOSMessageBundle which can
11+
be achieved by typing the following at the command prompt:
1212

13-
~~$ composer require friendsofsymfony/message-bundle~~
13+
```bash
14+
$ composer require friendsofsymfony/message-bundle
15+
```
16+
17+
**PLEASE NOTE:** Right now that command will install v1.3.0 due to issues with packagist.
18+
19+
#### v2.0 (temporary fix)
1420

15-
#### v2.0 (temporary installation instructions)
21+
To install the latest version we will have to use github as a VCS provider for composer.
1622

17-
Still trying to get ahold of the packagist owner, for now add the following to your composer.json:
23+
Add the following to your composer.json:
1824

1925
```json
2026
"repositories": [
@@ -28,7 +34,7 @@ Still trying to get ahold of the packagist owner, for now add the following to y
2834
Then type the following in the command prompt (instead of the above step).
2935

3036
```bash
31-
$ composer require friendsofsymfony/message-bundle:dev-master
37+
$ composer require friendsofsymfony/message-bundle:^2.0
3238
```
3339

3440
### Step 2 - Setting up your user class

0 commit comments

Comments
 (0)