PackageTrack
Sign in Get early access

zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

6.6.0 152M downloads/mo #290 most downloaded on Packagist zircote/swagger-php

What this package is like to depend on

Last release 6 days ago

18 Aug 2026

Ships fairly regularly

a new release about every 2 weeks

Rarely documented

notes for 10 of 205 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

210 releases · first in 2012

45 releases in the last 12 months

see the full history below

Release timeline

205 releases · Apr 2012 to Aug 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 210
  1. 6.6.0 18 Aug 2026
    Release notes

    What's Changed

    • fix(Spec): update remaining $ref type-hints to accept OA\Schema\Ref by @DerManoMann in #2119
    • chore(CS): follow rector rule changes by @DerManoMann in #2120
    • feat(Spec): add shortcut to omit OA\Property when stacking witbh OA\Schema by @DerManoMann in #2121
    • refactor(Spec): refactor attribute contains() method by @DerManoMann in #2122
    • fix(Spec): visit all ref with eachRef() by @DerManoMann in #2123
    • feat(Spec): introduce ComponentIndex for lazy resolution of $ref values and component lookups by @DerManoMann in #2124
    • fix(Type): resolve ``\stdClass` type hint as OpenAPI object type by @DerManoMann in #2125

    Full Changelog: 6.5.3...6.6.0

    Open source →
  2. 6.5.3 12 Aug 2026
    Release notes

    What's Changed

    Full Changelog: 6.5.2...6.5.3

    Open source →
  3. 6.5.2 05 Aug 2026
    Release notes

    What's Changed

    Full Changelog: 6.5.1...6.5.2

    Open source →
  4. 6.5.1 30 Jul 2026
    Release notes

    What's Changed

    • feat(Spec): widen the type of the content parameter (MediaType) to accept MediaType|array|null by @DerManoMann in #2088
    • feat(Spec): add string-backed enums for fixed OpenAPI spec values by @DerManoMann in #2089
    • feat(Spec): add reference to Specefication to build Result by @DerManoMann in #2093
    • feat(Spec): widen Builder sources to accept \Reflector instances too (except in CLASSIC mode) by @DerManoMann in #2091
    • feat(Spec): add media type shortcuts by @DerManoMann in #2090
    • feat(SPEC): add shortcut attribute Items by @DerManoMann in #2094
    • Remove spec-attributes.md; content no longer relevant or needed by @DerManoMann in #2095

    Full Changelog: 6.5.0...6.5.1

    Open source →
  5. 6.5.0 27 Jul 2026
    Release notes

    Spec Pipeline

    This version introduces the spec pipeline - a new set of attributes that will replace the current (classic) annotations/attributes.
    It is using a radically different approach in how the code is organized which makes it a lot easier to maintain.

    Right now, the new code is disabled and nothing changes. Key is that in order to try the new code the new OpenApi\Builder needs to be used. Again - using the Builder will, by default, change nothing and the current classic code is used.

    The new Builder::setMode() method allows to run the new spec pipeline in two modes:

    • HYBRID: Enables spec support where found and also routes all classic annotations/attributes through the new spec pipeline.
      Under the hood the classic Generator is used to load/instantiate classic annotations/attributes. Then a custom bridge translates all of those into new thin OpenApi\Spec attributes and adds them to the spec pipeline.
    • SPEC: Only new spec attributes are processed.

    HYBRID is a good way to see how compatible things are and also a migration path, as a codebase could be upgrade file by file.

    All spec pipeline related commits have been omitted from the change list for clarity and brevity. Going forward these will be marked as feat(Spec): and listed as all other changes.

    Testing and Feedback

    All current tests pass in HYBRID mode. However, there hasn't been any testing on actual projects yet. Testing the new code in hybrid mode on existing projects and feedback would be greatly appreciated.

    What's Changed

    Full Changelog: 6.4.0...6.5.0

    Open source →
  6. 6.4.0 12 Jul 2026
    Release notes

    What's Changed

    Full Changelog: 6.3.2...6.4.0

    Open source →
  7. 6.3.2 10 Jul 2026
    Release notes

    What's Changed

    Full Changelog: 6.3.1...6.3.2

    Open source →
  8. 6.3.1 06 Jul 2026
    Release notes

    What's Changed

    • fix: add native array|string type to Serializer::doDeserializeBaseProperty() by @DerManoMann in #2036
    • refactor: extract Generator::UNDEFINED to standalone Undefined class by @DerManoMann in #2035
    • refactor: remove version branching from type resolvers by @DerManoMann in #2037
    • refactor: extract generic docblock parsing to Utils\DocBlockParser by @DerManoMann in #2038
    • refactor: move TokenScannerand other utils to OpenApi\Utils namespace by @DerManoMann in #2039
    • refactor: extract TypeMapper as pipeline-agnostic type mapping utility by @DerManoMann in #2040

    Full Changelog: 6.3.0...6.3.1

    Open source →
  9. 6.3.0 29 Jun 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 6.2.0...6.3.0

    Open source →
  10. 6.2.0 14 Jun 2026
    Release notes

    What's Changed

    • Make AbstractAnnotation::$_context non-nullable by @krissss in #2008
    • fix: prevent PHP "mixed" from being emitted as invalid OpenAPI "type: mixed" by @krissss in #2011
    • Add return type to GeneratorAwareInterface::setGenerator() and align related code by @DerManoMann in #2013
    • Add domain glossary (CONTEXT.md) by @DerManoMann in #2016
    • fix: remove redundant is_array() check in Serializer by @DerManoMann in #2020
    • fix: remove consumed annotations from analysis registry by @DerManoMann in #2024

    Full Changelog: 6.1.2...6.2.0

    Open source →
  11. 6.1.2 28 Apr 2026

    Nothing published for this version

  12. 6.1.1 19 Apr 2026

    Nothing published for this version

  13. 6.1.0 06 Apr 2026

    Nothing published for this version

  14. 6.0.6 28 Feb 2026

    Nothing published for this version

  15. 6.0.5 10 Feb 2026

    Nothing published for this version

  16. 6.0.4 03 Feb 2026

    Nothing published for this version

  17. 6.0.3 22 Jan 2026

    Nothing published for this version

  18. 6.0.2 16 Jan 2026

    Nothing published for this version

  19. 6.0.1 15 Jan 2026

    Nothing published for this version

  20. 6.0.0 12 Jan 2026

    Nothing published for this version

  21. 6.0.0-RC4 08 Jan 2026 pre-release

    Nothing published for this version

  22. 6.0.0-RC3 02 Jan 2026 pre-release

    Nothing published for this version

  23. 6.0.0-RC2 03 Dec 2025 pre-release

    Nothing published for this version

  24. 6.0.0-RC1 24 Nov 2025 pre-release

    Nothing published for this version

  25. 5.8.3 02 Mar 2026

    Nothing published for this version

  26. 5.8.2 10 Feb 2026

    Nothing published for this version

  27. 5.8.1 03 Feb 2026

    Nothing published for this version

  28. 5.8.0 28 Jan 2026

    Nothing published for this version

  29. 5.7.8 13 Jan 2026

    Nothing published for this version

  30. 5.7.7 02 Jan 2026

    Nothing published for this version

  31. 5.7.6 04 Dec 2025

    Nothing published for this version

  32. 5.7.5 28 Nov 2025

    Nothing published for this version

  33. 5.7.4 27 Nov 2025

    Nothing published for this version

  34. 5.7.3 17 Nov 2025

    Nothing published for this version

  35. 5.7.2 17 Nov 2025

    Nothing published for this version

  36. 5.7.1 16 Nov 2025

    Nothing published for this version

  37. 5.7.0 11 Nov 2025

    Nothing published for this version

  38. 5.6.1 10 Nov 2025

    Nothing published for this version

  39. 5.6.0 04 Nov 2025

    Nothing published for this version

  40. 5.5.2 27 Oct 2025

    Nothing published for this version

  41. 5.5.1 17 Oct 2025

    Nothing published for this version

  42. 5.5.0 16 Oct 2025

    Nothing published for this version

  43. 5.4.2 09 Oct 2025

    Nothing published for this version

  44. 5.4.1 08 Oct 2025

    Nothing published for this version

  45. 5.4.0 12 Sep 2025

    Nothing published for this version

  46. 5.3.2 25 Aug 2025

    Nothing published for this version

  47. 5.3.1 16 Aug 2025

    Nothing published for this version

  48. 5.3.0 14 Aug 2025

    Nothing published for this version

  49. 5.2.0 11 Aug 2025

    Nothing published for this version

  50. 5.1.4 15 Jul 2025

    Nothing published for this version

  51. 5.1.3 20 May 2025

    Nothing published for this version

  52. 5.1.2 14 May 2025

    Nothing published for this version

  53. 5.1.1 27 Apr 2025

    Nothing published for this version

  54. 5.1.0 18 Apr 2025

    Nothing published for this version

  55. 5.0.7 19 Mar 2025

    Nothing published for this version

  56. 5.0.6 05 Mar 2025

    Nothing published for this version

  57. 5.0.5 24 Feb 2025

    Nothing published for this version

  58. 5.0.4 18 Feb 2025

    Nothing published for this version

  59. 5.0.3 15 Jan 2025

    Nothing published for this version

  60. 5.0.2 09 Jan 2025

    Nothing published for this version

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