PackageTrack
Sign in Get early access

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 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 204
  1. v5.11.1 12 Aug 2026
    Release notes

    5.11.1 (2026-08-12)

    Bug Fixes

    • harden OpenAPI generation for FrankenPHP / long-lived workers (#2772) (7b8ab07)
    Open source →
    Release notes

    Bug Fixes

    • harden OpenAPI generation for FrankenPHP / long-lived workers (#2772) (7b8ab07)
    Open source →
  2. v5.11.0 03 Aug 2026
    Release notes

    5.11.0 (2026-08-03)

    Features

    Bug Fixes

    • deps: require zircote/swagger-php >= 5.7.8 for the query method (#2782) (1eef066)

    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)
    Open source →
    Release notes

    Features

    Bug Fixes

    • deps: require zircote/swagger-php >= 5.7.8 for the query method (#2782) (1eef066)

    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)
    Open source →
  3. v5.10.3 01 Jun 2026
    Release notes

    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)
    Open source →
    Release notes

    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)
    Open source →
  4. v5.10.2 08 May 2026
    Release notes

    5.10.2 (2026-05-08)

    Bug Fixes

    • config: root vendor extensions get ignored (#2739) (b80b612)
    Open source →
    Release notes

    Bug Fixes

    • config: root vendor extensions get ignored (#2739) (b80b612)
    Open source →
  5. v5.10.1 08 May 2026
    Release notes

    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)
    Open source →
    Release notes

    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)
    Open source →
  6. v5.10.0 10 Apr 2026
    Release notes

    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

    • deps: bump swagger-ui-dist from 5.32.0 to 5.32.1 in /utils (#2712) (b5d5e1f)
    • support zircote/swagger-php ^6.0 (#2717) (3add4a7)
    • ui: update scalar & stoplight files (#2719) (94d113b)
    Open source →
    Release notes

    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

    • deps: bump swagger-ui-dist from 5.32.0 to 5.32.1 in /utils (#2712) (b5d5e1f)
    • support zircote/swagger-php ^6.0 (#2717) (3add4a7)
    • ui: update scalar & stoplight files (#2719) (94d113b)
    Open source →
  7. v5.9.5 04 Mar 2026
    Release notes

    5.9.5 (2026-03-04)

    Miscellaneous Chores

    • deps: bump @stoplight/elements from 9.0.15 to 9.0.16 in /utils (#2702) (ff5783b)
    • deps: bump swagger-ui-dist from 5.31.0 to 5.32.0 in /utils (#2703) (3d64d5b)
    Open source →
    Release notes

    Miscellaneous Chores

    • deps: bump @stoplight/elements from 9.0.15 to 9.0.16 in /utils (#2702) (ff5783b)
    • deps: bump swagger-ui-dist from 5.31.0 to 5.32.0 in /utils (#2703) (3d64d5b)
    Open source →
  8. v5.9.4 20 Feb 2026
    Release notes

    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)
    Open source →
    Release notes

    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)
    Open source →
  9. v5.9.3 13 Feb 2026
    Release notes

    5.9.3 (2026-02-04)

    Bug Fixes

    • composer: conflict for symfony/property-info versions (#2685) (d9f7213)

    Miscellaneous Chores

    • deps: bump @stoplight/elements from 9.0.13 to 9.0.15 in /utils (#2676) (19c2ab5)
    • gitattributes: exclude dev configs (#2683) (65dfa87)
    Open source →
    Release notes

    Bug Fixes

    • composer: conflict for symfony/property-info versions (#2685) (d9f7213)

    Miscellaneous Chores

    • deps: bump @stoplight/elements from 9.0.13 to 9.0.15 in /utils (#2676) (19c2ab5)
    • gitattributes: exclude dev configs (#2683) (65dfa87)
    Open source →
  10. v5.9.2 08 Jan 2026
    Release notes

    5.9.2 (2026-01-08)

    Bug Fixes

    • config: set type_info default correctly in Symfony 8 (#2670) (3e65701)
    Open source →
    Release notes

    Bug Fixes

    • config: set type_info default correctly in Symfony 8 (#2670) (3e65701)
    Open source →
  11. v5.9.1 08 Jan 2026
    Release notes

    Bug Fixes

    • swagger-ui: dark mode ui background color (#2665) (0303e94)

    Miscellaneous Chores

    • phpdocumentor: bump support for reflection-docblock & type-resolver (#2666) (75a543d)
    Open source →
  12. v5.9.0 02 Jan 2026
    Release notes

    Features

    • Add support for static callbacks in Symfony choice constraints (#2659) (4d2f627)

    Bug Fixes

    • OpenApiPhpDescriber: Set annotation name from context, if empty (#2658) (eedb169)
    Open source →
  13. v5.8.3 02 Jan 2026
    Release notes

    Miscellaneous Chores

    • deps: bump @stoplight/elements from 9.0.12 to 9.0.13 in /utils (#2648) (57d40e3)
    • deps: bump swagger-ui-dist from 5.30.2 to 5.30.3 in /utils (#2639) (8c804b9)
    • deps: bump swagger-ui-dist from 5.30.3 to 5.31.0 in /utils (#2655) (b7fb331)
    • symfony: support 8.0 (#2612) (51d6a51)
    Open source →
  14. v5.8.2 28 Nov 2025
    Release notes

    Bug Fixes

    • SplObjectStorage: SplObjectStorage::detach() is deprecated since 8.5, use method SplObjectStorage::offsetUnset() instead (94f6895)

    Miscellaneous Chores

    • deps: bump @stoplight/elements from 9.0.11 to 9.0.12 in /utils (#2625) (e54c6c2)
    Open source →
  15. v5.8.1 14 Nov 2025
    Release notes

    Bug Fixes

    • configuration: validate type_info option on Symfony 6 (#2615) (3d96b9a)
    Open source →
  16. v5.8.0 14 Nov 2025
    Release notes

    Features

    • #2502: refactor Model::$type from property-info to type-info Type (ef14213)

    Bug Fixes

    • trigger_deprecation: incorrect & missing trigger_deprecation in Model class (#2613) (52858e6)

    Miscellaneous Chores

    • php: bump minimum to php 8.2 (#2611) (95b2057)
    • symfony: bumped minimum version for Symfony 7 from ^7.1 to ^7.2 (ef14213)
    Open source →
  17. v5.7.1 13 Nov 2025
    Release notes

    Bug Fixes

    Open source →
  18. v5.7.0 10 Nov 2025
    Release notes

    Features

    • Implement Ulid type description in ClassDescriber (#2556) (5666ba1)

    Bug Fixes

    Miscellaneous Chores

    • deps: bump @stoplight/elements from 9.0.8 to 9.0.11 in /utils (#2585) (ac85a09)
    • deps: bump swagger-ui-dist from 5.29.5 to 5.30.2 in /utils (#2586) (c37c801)
    Open source →
  19. v5.6.5 20 Oct 2025
    Release notes

    Bug Fixes

    Miscellaneous Chores

    • deps: bump redoc from 2.5.1 to 2.5.2 in /utils (#2574) (2b49d55)
    • deps: bump swagger-ui-dist from 5.29.4 to 5.29.5 in /utils (#2575) (f9fd650)
    Open source →
  20. v5.6.4 17 Oct 2025
    Release notes

    Bug Fixes

    Miscellaneous Chores

    Open source →
  21. v5.6.3 09 Oct 2025
    Release notes

    Miscellaneous Chores

    • deps: bump @stoplight/elements from 9.0.6 to 9.0.8 in /utils (#2559) (ab71920)
    • deps: bump redoc from 2.5.0 to 2.5.1 in /utils (#2557) (552e1df)
    • deps: bump swagger-ui-dist from 5.29.0 to 5.29.3 in /utils (#2560) (9278d86)
    Open source →
  22. v5.6.2 19 Sep 2025
    Release notes

    Miscellaneous Chores

    • deps: bump swagger-ui-dist from 5.28.1 to 5.29.0 in /utils (#2554) (5ad97ac)
    Open source →
  23. v5.6.1 10 Sep 2025
    Release notes

    Bug Fixes

    • ModelRegistry: ensure first registered alternative name is used (#2553) (2f3b3b7)

    Miscellaneous Chores

    • deps: bump swagger-ui-dist from 5.28.0 to 5.28.1 in /utils (#2548) (dcde65f)
    Open source →
  24. v5.6.0 03 Sep 2025
    Release notes

    Features

    • Model: Allow customizing the name of generated schemas. (#2542) (6a12188)
    Open source →
  25. v5.5.1 01 Sep 2025
    Release notes

    Miscellaneous Chores

    • deps: bump swagger-ui-dist from 5.27.1 to 5.28.0 in /utils (#2538) (0f86e76)
    Open source →
  26. v5.5.0 04 Aug 2025
    Release notes
    • Schemas deduplication now compare generated schemas to reduce automatically named schemas (Entity / Entity2 / Entity3 / ...).
    • Added support for generic types describing
    Open source →
  27. v5.4.0 26 Jun 2025

    Nothing published for this version

  28. v5.3.1 26 Jun 2025

    Nothing published for this version

  29. v5.3.0 24 May 2025
    Release notes

    Added support for Symfony's TranslatableInterface

    Open source →
  30. v5.2.1 24 May 2025
    Release notes

    Fixed a bug where using abstract controllers would ignore various attributes like #[OA\Tag] & #[Security] on child classes

    Open source →
  31. v5.2.0 23 May 2025
    Release notes

    Made it possible to automatically generate security definitions based on the #[IsGranted] attribute.

    nelmio_api_doc:
        # ...
    
        areas:
            default:
                security:
                    MyBearerScheme:
                        type: 'http'
                        scheme: 'bearer'
    
    Open source →
  32. v5.1.0 23 May 2025
    Release notes

    Made it possible to configure how operation ids are generated.

    nelmio_api_doc:
        operation_id_generation: always_prepend
    

    Possible values: always_prepend, conditionally_prepend, no_prepend or enum instance of Nelmio\ApiDocBundle\Describer\OperationIdGeneration

    Open source →
  33. v5.0.2 23 May 2025

    Nothing published for this version

  34. v5.0.1 24 Mar 2025

    Nothing published for this version

  35. v5.0.0 07 Mar 2025

    Nothing published for this version

  36. v5.0.0-beta7 07 Mar 2025 pre-release

    Nothing published for this version

  37. v5.0.0-beta6 19 Jan 2025 pre-release

    Nothing published for this version

  38. v5.0.0-beta5 19 Jan 2025 pre-release

    Nothing published for this version

  39. v5.0.0-beta4 18 Jan 2025 pre-release

    Nothing published for this version

  40. v5.0.0-beta3 12 Nov 2024 pre-release

    Nothing published for this version

  41. v5.0.0-beta2 07 Nov 2024 pre-release

    Nothing published for this version

  42. v5.0.0-beta1 25 Oct 2024 pre-release

    Nothing published for this version

  43. v4.38.7 08 Jan 2026

    Nothing published for this version

  44. v4.38.6 28 Nov 2025

    Nothing published for this version

  45. v4.38.5 14 Nov 2025

    Nothing published for this version

  46. v4.38.4 13 Nov 2025

    Nothing published for this version

  47. v4.38.3 12 Nov 2025

    Nothing published for this version

  48. v4.38.2 24 Mar 2025
    Release notes
    • 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.
    Open source →
  49. v4.38.1 07 Mar 2025

    Nothing published for this version

  50. v4.38.0 07 Mar 2025
    Release notes
    • 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
    Open source →
  51. v4.37.1 14 Feb 2025

    Nothing published for this version

  52. v4.37.0 14 Feb 2025
    Release notes
    • Added Stoplight as an alternative UI option. https://stoplight.io/open-source/elements.
    Open source →
  53. v4.36.2 13 Feb 2025

    Nothing published for this version

  54. v4.36.1 19 Jan 2025
    Release notes
    • Passing an array key value with a list of strings to the Areas annotation/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'])]
    
    Open source →
  55. v4.36.0 19 Jan 2025
    Release notes
    • Configuration option with_annotation has been deprecated in favor of with_attribute
    nelmio_api_doc:
        areas:
            path_patterns:
                - ^/api/foo
    -       with_annotation: true
    +       with_attribute: true
    
    Open source →
  56. v4.35.2 19 Jan 2025

    Nothing published for this version

  57. v4.35.1 19 Jan 2025

    Nothing published for this version

  58. v4.35.0 18 Jan 2025
    Release notes
    • Added support for the symfony/type-info component
    nelmio_api_doc:
      type_info: true
    
    Open source →
  59. v4.34.1 17 Jan 2025

    Nothing published for this version

  60. v4.34.0 08 Jan 2025
    Release notes
    • Changed minimum Symfony version for 7.x from 7.0 to 7.1
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive