nelmio / api-doc-bundle
Generates documentation for your REST API from annotations and attributes
Fund package maintenance!
DjordyKoert
Installs: 49 508 572
Dependents: 306
Suggesters: 37
Security: 0
Stars: 2 227
Watchers: 61
Forks: 836
Open Issues: 150
Type:symfony-bundle
Requires
- php: >=8.1
- ext-json: *
- phpdocumentor/reflection-docblock: ^5.0
- phpdocumentor/type-resolver: ^1.8.2
- psr/cache: ^1.0 || ^2.0 || ^3.0
- psr/container: ^1.0 || ^2.0
- psr/log: ^1.0 || ^2.0 || ^3.0
- symfony/config: ^5.4 || ^6.4 || ^7.0
- symfony/console: ^5.4 || ^6.4 || ^7.0
- symfony/dependency-injection: ^5.4 || ^6.4 || ^7.0
- symfony/deprecation-contracts: ^2.1 || ^3
- symfony/framework-bundle: ^5.4.24 || ^6.4 || ^7.0
- symfony/http-foundation: ^5.4 || ^6.4 || ^7.0
- symfony/http-kernel: ^5.4 || ^6.4 || ^7.0
- symfony/options-resolver: ^5.4 || ^6.4 || ^7.0
- symfony/property-info: ^5.4.10 || ^6.4 || ^7.0
- symfony/routing: ^5.4 || ^6.4 || ^7.0
- zircote/swagger-php: ^4.6.1
Requires (Dev)
- api-platform/core: ^2.7.0 || ^3
- friendsofphp/php-cs-fixer: ^3.52
- friendsofsymfony/rest-bundle: ^3.2.0
- jms/serializer: ^3.0
- jms/serializer-bundle: ^5.2
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-strict-rules: ^1.5
- phpstan/phpstan-symfony: ^1.3
- phpunit/phpunit: ^10.5
- symfony/asset: ^5.4 || ^6.4 || ^7.0
- symfony/browser-kit: ^5.4 || ^6.4 || ^7.0
- symfony/cache: ^5.4 || ^6.4 || ^7.0
- symfony/dom-crawler: ^5.4 || ^6.4 || ^7.0
- symfony/expression-language: ^5.4 || ^6.4 || ^7.0
- symfony/form: ^5.4 || ^6.4 || ^7.0
- symfony/phpunit-bridge: ^6.4
- symfony/property-access: ^5.4 || ^6.4 || ^7.0
- symfony/security-csrf: ^5.4 || ^6.4 || ^7.0
- symfony/serializer: ^5.4 || ^6.4 || ^7.0
- symfony/stopwatch: ^5.4 || ^6.4 || ^7.0
- symfony/templating: ^5.4 || ^6.4 || ^7.0
- symfony/twig-bundle: ^5.4 || ^6.4 || ^7.0
- symfony/uid: ^5.4 || ^6.4 || ^7.0
- symfony/validator: ^5.4 || ^6.4 || ^7.0
- willdurand/hateoas-bundle: ^2.7@beta
- willdurand/negotiation: ^3.0
Suggests
- api-platform/core: For using an API oriented framework.
- friendsofsymfony/rest-bundle: For using the parameters annotations.
- jms/serializer-bundle: For describing your models.
- symfony/asset: For using the Swagger UI.
- symfony/cache: For using a PSR-6 compatible cache implementation with the API doc generator.
- symfony/form: For describing your form type models.
- symfony/monolog-bundle: For using a PSR-3 compatible logger implementation with the API PHP describer.
- symfony/security-csrf: For using csrf protection tokens in forms.
- symfony/serializer: For describing your models.
- symfony/twig-bundle: For using the Swagger UI.
- symfony/validator: For describing the validation constraints in your models.
- willdurand/hateoas-bundle: For extracting HATEOAS metadata.
Conflicts
- zircote/swagger-php: 4.8.7
- 5.x-dev
- v5.0.0-beta3
- v5.0.0-beta2
- v5.0.0-beta1
- dev-master / 4.x-dev
- v4.33.4
- v4.33.3
- v4.33.2
- v4.33.1
- v4.33.0
- v4.32.3
- v4.32.2
- v4.32.1
- v4.32.0
- v4.31.0
- v4.30.0
- v4.29.3
- v4.29.2
- v4.29.1
- v4.29.0
- v4.28.0
- v4.27.1
- v4.27.0
- v4.26.2
- v4.26.1
- v4.26.0
- 4.25.3
- 4.25.2
- v4.25.1
- v4.25.0
- v4.24.1
- v4.24.0
- v4.23.1
- v4.23.0
- v4.22.1
- v4.22.0
- v4.21.0
- v4.20.0
- v4.19.3
- v4.19.2
- v4.19.1
- v4.19.0
- v4.18.3
- v4.18.2
- v4.18.1
- v4.18.0
- v4.17.1
- v4.17.0
- v4.16.2
- v4.16.1
- v4.16.0
- v4.15.3
- v4.15.2
- v4.15.1
- v4.15.0
- v4.14.0
- v4.13.0
- v4.12.0
- v4.11.1
- v4.11.0
- v4.10.2
- v4.10.1
- v4.10.0
- v4.9.0
- v4.8.2
- v4.8.1
- v4.8.0
- v4.7.0
- v4.6.2
- v4.6.1
- v4.6.0
- v4.5.0
- v4.4.0
- v4.3.0
- v4.2.0
- v4.1.1
- v4.1.0
- v4.0.1
- v4.0.0
- v4.0.0-BETA2
- v4.0.0-BETA1
- 3.x-dev
- v3.10.1
- v3.10.0
- v3.9.1
- v3.9.0
- v3.8.2
- v3.8.1
- v3.8.0
- v3.7.4
- v3.7.3
- v3.7.2
- v3.7.1
- v3.7.0
- v3.6.1
- v3.6.0
- v3.5.0
- v3.4.0
- v3.3.1
- v3.3.0
- v3.2.1
- v3.2.0
- v3.1.0
- v3.0.0
- v3.0.0-BETA4
- v3.0.0-BETA3
- v3.0.0-BETA2
- v3.0.0-BETA1
- 2.x-dev
- 2.13.5
- 2.13.4
- 2.13.3
- 2.13.2
- 2.13.1
- 2.13.0
- 2.12.0
- 2.11.2
- 2.11.1
- 2.11.0
- 2.10.3
- 2.10.2
- 2.10.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.1
- 2.0.0
- 1.0.1
- 1.0.0
- dev-add-context-param
- dev-5.x-remove-deprecations
- dev-2212-type-info
- dev-bump-symfony-min-6
This package is auto-updated.
Last update: 2024-11-12 15:25:32 UTC
README
The NelmioApiDocBundle bundle allows you to generate a decent documentation for your APIs.
Migrate from 3.x to 4.0
To migrate from 3.x to 4.0, follow our guide.
Version 4.0 brings OpenAPI 3.0 support. If you want to stick to Swagger 2.0, you should use the version 3 of this bundle.
Migrate from 2.x to 3.0
To migrate from 2.x to 3.0, follow our guide.
Installation
Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:
composer require nelmio/api-doc-bundle
Documentation
Read the documentation on symfony.com
Contributing
See CONTRIBUTING file.
Running the Tests
Install the Composer dependencies:
git clone https://github.com/nelmio/NelmioApiDocBundle.git
cd NelmioApiDocBundle
composer update
Then run the test suite:
./phpunit
License
This bundle is released under the MIT license.