Skip to content

Commit

Permalink
fixed documentation due to packagist hook
Browse files Browse the repository at this point in the history
  • Loading branch information
hex333ham committed May 21, 2019
1 parent 3ebe49b commit 0f7f5e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 27 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ If using versions older than Symfony3.4 (LTS), make sure to use version 1.3 of t

https://github.com/FriendsOfSymfony/FOSMessageBundle/tree/v1.3.0

When using composer, tag it as such but otherwise install as per the 1.3 docs:

```bash
composer require friendsofsymfony/message-bundle:1.3.0
```

License
-------

Expand Down
25 changes: 5 additions & 20 deletions Resources/doc/01-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,16 @@ Setting up FOSMessageBundle
The first step is to tell composer that you want to download FOSMessageBundle which can
be achieved by typing the following at the command prompt:

```bash
$ composer require friendsofsymfony/message-bundle
```

**PLEASE NOTE:** Right now that command will install v1.3.0 due to issues with packagist.

#### v2.0 (temporary fix)
#### Current

To install the latest version we will have to use github as a VCS provider for composer.

Add the following to your composer.json:

```json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/FriendsOfSymfony/FOSMessageBundle"
}
]
```bash
composer require friendsofsymfony/message-bundle
```

Then type the following in the command prompt (instead of the above step).
#### v1.3 (Legacy: Symfony 2, or <=3.3)

```bash
$ composer require friendsofsymfony/message-bundle:^2.0
composer require friendsofsymfony/message-bundle:1.3.0
```

### Step 2 - Setting up your user class
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
"dev-master": "2.0.1-dev"
}
}
}

0 comments on commit 0f7f5e2

Please sign in to comment.