Skip to content

Commit

Permalink
documented Symfony Flex installation
Browse files Browse the repository at this point in the history
  • Loading branch information
othillo committed Dec 13, 2017
1 parent 7ba8648 commit a9a23fc
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,32 @@ Read the our blog post series about this repository at:

## Installation

### Using Symfony Flex

The easiest way to install and configure the QandidateToggleBundle with Symfony is by using
[Symfony Flex](https://github.com/symfony/flex).

Make sure you have Symfony Flex installed:

```
$ composer require symfony/flex ^1.0
$ composer config extra.symfony.allow-contrib true
```

Install the bundle:

```
$ composer require qandidate/toggle-bundle ^1.0
```

Symfony Flex will automatically register and configure the bundle.

### Manually

Add the bundle to your composer.json

```bash
$ composer require qandidate/toggle-bundle ~0.1
$ composer require qandidate/toggle-bundle ^1.0
```

Add the bundle to your Kernel:
Expand Down

0 comments on commit a9a23fc

Please sign in to comment.