nelmio/api-doc-bundle
Generates documentation for your REST API from attributes
v5.11.1
70M downloads/mo
#612 most downloaded on Packagist
nelmio/NelmioApiDocBundle
What this package is like to depend on
Last release 11 days ago
12 Aug 2026
Ships fairly regularly
a new release about every 3 weeks
Some releases are documented
notes for 63 of 191 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
204 releases · first in 2012
30 releases in the last 12 months
see the full history below
Release timeline
204 releases · May 2012 to Aug 2026Releases
latest 60 of 204-
v5.11.112 Aug 2026Release notes
Open source → -
v5.11.003 Aug 2026Release notes
Open source →5.11.0 (2026-08-03)
Features
Bug Fixes
Miscellaneous Chores
- deps: bump @scalar/api-reference from 1.57.5 to 1.62.5 in /utils (#2769) (cabb52e)
- deps: bump @scalar/api-reference from 1.62.5 to 1.64.0 in /utils (#2780) (e2b085c)
- deps: bump @stoplight/elements from 9.0.21 to 9.0.24 in /utils (#2774) (c8f3e4e)
- deps: bump swagger-ui-dist from 5.32.6 to 5.32.11 in /utils (#2777) (9654f06)
Release notes
Open source →Features
Bug Fixes
Miscellaneous Chores
- deps: bump @scalar/api-reference from 1.57.5 to 1.62.5 in /utils (#2769) (cabb52e)
- deps: bump @scalar/api-reference from 1.62.5 to 1.64.0 in /utils (#2780) (e2b085c)
- deps: bump @stoplight/elements from 9.0.21 to 9.0.24 in /utils (#2774) (c8f3e4e)
- deps: bump swagger-ui-dist from 5.32.6 to 5.32.11 in /utils (#2777) (9654f06)
-
v5.10.301 Jun 2026Release notes
Open source →5.10.3 (2026-06-01)
Miscellaneous Chores
- deps: bump @scalar/api-reference from 1.55.3 to 1.57.5 in /utils (#2746) (8ea5151)
- deps: bump @stoplight/elements from 9.0.19 to 9.0.21 in /utils (#2751) (935888a)
- deps: bump redoc from 2.5.2 to 2.5.3 in /utils (#2750) (2c13846)
- deps: bump swagger-ui-dist from 5.32.5 to 5.32.6 in /utils (#2744) (983cfde)
Release notes
Open source →Miscellaneous Chores
- deps: bump @scalar/api-reference from 1.55.3 to 1.57.5 in /utils (#2746) (8ea5151)
- deps: bump @stoplight/elements from 9.0.19 to 9.0.21 in /utils (#2751) (935888a)
- deps: bump redoc from 2.5.2 to 2.5.3 in /utils (#2750) (2c13846)
- deps: bump swagger-ui-dist from 5.32.5 to 5.32.6 in /utils (#2744) (983cfde)
-
v5.10.208 May 2026Release notes
Open source → -
v5.10.108 May 2026Release notes
Open source →5.10.1 (2026-05-08)
Miscellaneous Chores
- deps: bump @scalar/api-reference from 1.52.0 to 1.52.1 in /utils (#2723) (5522bd9)
- deps: bump @scalar/api-reference from 1.52.1 to 1.55.3 in /utils (#2737) (f00777b)
- deps: bump @stoplight/elements from 9.0.16 to 9.0.19 in /utils (#2731) (19142fb)
- deps: bump swagger-ui-dist from 5.32.1 to 5.32.2 in /utils (#2724) (076b2a0)
- deps: bump swagger-ui-dist from 5.32.2 to 5.32.5 in /utils (#2738) (13d09d4)
Release notes
Open source →Miscellaneous Chores
- deps: bump @scalar/api-reference from 1.52.0 to 1.52.1 in /utils (#2723) (5522bd9)
- deps: bump @scalar/api-reference from 1.52.1 to 1.55.3 in /utils (#2737) (f00777b)
- deps: bump @stoplight/elements from 9.0.16 to 9.0.19 in /utils (#2731) (19142fb)
- deps: bump swagger-ui-dist from 5.32.1 to 5.32.2 in /utils (#2724) (076b2a0)
- deps: bump swagger-ui-dist from 5.32.2 to 5.32.5 in /utils (#2738) (13d09d4)
-
v5.10.010 Apr 2026Release notes
Open source →5.10.0 (2026-04-10)
Features
Bug Fixes
- exclude BackedEnum from TranslatablePropertyDescriber (#2692) (2c40b2e), closes #2507
- phpstan: apply phpstan fixes (#2721) (3cbe708)
- prevent nullable from triggering oneOf wrapping in JMSModelDescriber (#2693) (7167809), closes #2565
- use FQCN as deduplication key to prevent model merge across namespaces (#2694) (25e8b98)
Miscellaneous Chores
Release notes
Open source →Features
Bug Fixes
- exclude BackedEnum from TranslatablePropertyDescriber (#2692) (2c40b2e), closes #2507
- phpstan: apply phpstan fixes (#2721) (3cbe708)
- prevent nullable from triggering oneOf wrapping in JMSModelDescriber (#2693) (7167809), closes #2565
- use FQCN as deduplication key to prevent model merge across namespaces (#2694) (25e8b98)
Miscellaneous Chores
-
v5.9.504 Mar 2026 -
v5.9.420 Feb 2026Release notes
Open source →5.9.4 (2026-02-20)
Bug Fixes
#[MapRequestPayload]&#[MapUploadedFile]combined on same route (#2689) (4ff48e7)- Choice(multiple: true) warning with string[] and type_info (#2690) (1c608db)
- Count constraint uses minProperties/maxProperties for maps (#2688) (e8196ef)
- LegacyType deprecation warning in Configuration (#2687) (3c06392)
Release notes
Open source →Bug Fixes
#[MapRequestPayload]&#[MapUploadedFile]combined on same route (#2689) (4ff48e7)- Choice(multiple: true) warning with string[] and type_info (#2690) (1c608db)
- Count constraint uses minProperties/maxProperties for maps (#2688) (e8196ef)
- LegacyType deprecation warning in Configuration (#2687) (3c06392)
-
v5.9.313 Feb 2026 -
v5.9.208 Jan 2026Release notes
Open source →Release notes
Open source → -
v5.9.108 Jan 2026 -
v5.9.002 Jan 2026 -
v5.8.302 Jan 2026 -
v5.8.228 Nov 2025Release notes
Open source →Bug Fixes
- SplObjectStorage:
SplObjectStorage::detach()is deprecated since8.5, use methodSplObjectStorage::offsetUnset()instead (94f6895)
Miscellaneous Chores
- SplObjectStorage:
-
v5.8.114 Nov 2025Release notes
Open source → -
v5.8.014 Nov 2025Release notes
Open source →Features
- #2502: refactor
Model::$typefrom property-info to type-infoType(ef14213)
Bug Fixes
Miscellaneous Chores
- #2502: refactor
-
v5.7.113 Nov 2025 -
v5.7.010 Nov 2025 -
v5.6.520 Oct 2025 -
v5.6.417 Oct 2025 -
v5.6.309 Oct 2025 -
v5.6.219 Sep 2025Release notes
Open source → -
v5.6.110 Sep 2025 -
v5.6.003 Sep 2025Release notes
Open source → -
v5.5.101 Sep 2025Release notes
Open source → -
v5.5.004 Aug 2025Release notes
Open source →- Schemas deduplication now compare generated schemas to reduce automatically named schemas (Entity / Entity2 / Entity3 / ...).
- Added support for generic types describing
-
v5.4.026 Jun 2025Nothing published for this version
-
v5.3.126 Jun 2025Nothing published for this version
-
v5.3.024 May 2025 -
v5.2.124 May 2025Release notes
Open source →Fixed a bug where using abstract controllers would ignore various attributes like
#[OA\Tag]&#[Security]on child classes -
v5.2.023 May 2025Release notes
Open source →Made it possible to automatically generate security definitions based on the
#[IsGranted]attribute.nelmio_api_doc: # ... areas: default: security: MyBearerScheme: type: 'http' scheme: 'bearer' -
v5.1.023 May 2025Release notes
Open source →Made it possible to configure how operation ids are generated.
nelmio_api_doc: operation_id_generation: always_prependPossible values:
always_prepend,conditionally_prepend,no_prependor enum instance ofNelmio\ApiDocBundle\Describer\OperationIdGeneration -
v5.0.223 May 2025Nothing published for this version
-
v5.0.124 Mar 2025Nothing published for this version
-
v5.0.007 Mar 2025Nothing published for this version
-
v5.0.0-beta707 Mar 2025 pre-releaseNothing published for this version
-
v5.0.0-beta619 Jan 2025 pre-releaseNothing published for this version
-
v5.0.0-beta519 Jan 2025 pre-releaseNothing published for this version
-
v5.0.0-beta418 Jan 2025 pre-releaseNothing published for this version
-
v5.0.0-beta312 Nov 2024 pre-releaseNothing published for this version
-
v5.0.0-beta207 Nov 2024 pre-releaseNothing published for this version
-
v5.0.0-beta125 Oct 2024 pre-releaseNothing published for this version
-
v4.38.708 Jan 2026Nothing published for this version
-
v4.38.628 Nov 2025Nothing published for this version
-
v4.38.514 Nov 2025Nothing published for this version
-
v4.38.413 Nov 2025Nothing published for this version
-
v4.38.312 Nov 2025Nothing published for this version
-
v4.38.224 Mar 2025Release notes
Open source →- Support of attribute MapQueryParameter with a regexp has been improved, it now converts the regexp from PCRE to ECMA-262 for better compliance with OpenApi.
-
v4.38.107 Mar 2025Nothing published for this version
-
v4.38.007 Mar 2025Release notes
Open source →- Added a
#[Ignore]attribute that allows a property to be excluded from the generated schema.
<?php use Nelmio\ApiDocBundle\Attribute\Ignore; class Foo { #[Ignore] private string $ignoredProperty; }- Added support for the
#[MapUploadedFile]symfony controller argument attribute
- Added a
-
v4.37.114 Feb 2025Nothing published for this version
-
v4.37.014 Feb 2025Release notes
Open source →- Added Stoplight as an alternative UI option. https://stoplight.io/open-source/elements.
-
v4.36.213 Feb 2025Nothing published for this version
-
v4.36.119 Jan 2025Release notes
Open source →- Passing an array key
valuewith a list of strings to theAreasannotation/attribute is deprecated. Pass the list of strings directly.
-#[Areas(properties: ['value' => ['foo', 'bar']])] +#[Areas(properties: ['foo', 'bar'])] -#[Areas(['value' => ['foo', 'bar']])] +#[Areas(['foo', 'bar'])] - Passing an array key
-
v4.36.019 Jan 2025Release notes
Open source →- Configuration option
with_annotationhas been deprecated in favor ofwith_attribute
nelmio_api_doc: areas: path_patterns: - ^/api/foo - with_annotation: true + with_attribute: true - Configuration option
-
v4.35.219 Jan 2025Nothing published for this version
-
v4.35.119 Jan 2025Nothing published for this version
-
v4.35.018 Jan 2025Release notes
Open source →- Added support for the symfony/type-info component
nelmio_api_doc: type_info: true -
v4.34.117 Jan 2025Nothing published for this version
-
v4.34.008 Jan 2025