From 4beb08e58745f1c39aefdf35d9df293136668ba0 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 21 Oct 2014 21:24:58 +0100 Subject: [PATCH] Update install instructions --- Resources/doc/index.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/Resources/doc/index.md b/Resources/doc/index.md index 5616253..1f5ca00 100644 --- a/Resources/doc/index.md +++ b/Resources/doc/index.md @@ -8,19 +8,9 @@ for your APIs. Installation ------------ -Add this bundle to your `composer.json` file: +Require the `nelmio/api-doc-bundle` package in your composer.json and update your dependencies. -``` php -{ - "require": { - "nelmio/api-doc-bundle": "@stable" - } -} -``` - -**Protip:** you should browse the -[`nelmio/api-doc-bundle`](https://packagist.org/packages/nelmio/api-doc-bundle) -page to choose a stable version to use, avoid the `@stable` meta constraint. + $ composer require nelmio/api-doc-bundle Register the bundle in `app/AppKernel.php`: