mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Update install instructions
This commit is contained in:
parent
cb6df68d8a
commit
4beb08e587
@ -8,19 +8,9 @@ for your APIs.
|
|||||||
Installation
|
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
|
$ composer require nelmio/api-doc-bundle
|
||||||
{
|
|
||||||
"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.
|
|
||||||
|
|
||||||
Register the bundle in `app/AppKernel.php`:
|
Register the bundle in `app/AppKernel.php`:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user