mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Update install instructions
This commit is contained in:
parent
cb6df68d8a
commit
4beb08e587
@ -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`:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user