From a9a23fc618ae401128b0ae0f3621c38ecb1f87f9 Mon Sep 17 00:00:00 2001 From: othillo Date: Sun, 10 Dec 2017 18:16:55 +0100 Subject: [PATCH] documented Symfony Flex installation --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d9e8a84..bf5a4ac 100644 --- a/README.md +++ b/README.md @@ -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: