PackageTrack
Sign in Get early access

cebe/php-openapi

Read and write OpenAPI yaml/json files and make the content accessable in PHP objects.

1.8.0 17M downloads/mo #1319 most downloaded on Packagist cebe/php-openapi

What this package is like to depend on

Last release 1 years ago

07 May 2025

Ships unpredictably

gaps range from 2 weeks to 3.0 years

Some releases are documented

notes for 10 of 19 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

23 releases · first in 2018

0 releases in the last 12 months

see the full history below

Release timeline

23 releases · Nov 2018 to May 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 23
  1. 1.8.0 07 May 2025
    Release notes

    What's Changed

    Compatibility:

    Features and Fixes:

    • Hold raw spec data when reading specifications, added a getter getRawSpecData() by @SOHELAHMED7 (#228)
    • Resolve: Unable to reference other local json file by @SOHELAHMED7 (#218)
    • Improve usage of Security and SecurityRequirement by @SOHELAHMED7 (#225)
    • Fix: Referenced Parameters compiling to Object instead of Array by @SOHELAHMED7 (#234)
    • Added test to confirm referenced parameters are compiling to arrays by @Aribros (#195)
    • Fix resolving of relative paths in references by @Aribros (#166, #164, #191)

    Doucmentation:

    New Contributors

    Full Changelog: 1.7.0...1.8.0

    Open source →
  2. 1.7.0 20 Apr 2022
    Release notes

    Improvements:

    Open source →
  3. 1.6.0 10 Feb 2022
    Release notes

    Bugfixes:

    • #100 Fixed a bug with merging PathItems where extension properties (x-*) were not present in the merge result (thanks @marcelthole)
    • #131 Adjust default value for Schema::$nullable when no type is specified. nullable will be false by default when a type is specified but null when no type is specified.
    • #77 Fixes default value for exclusiveMinimum and exclusiveMaximum only return false when minimum or maximum is specified, defaults to null otherwise.
    • #125 Fix OpenAPI v3.0 Schema Violation: Array value found, but an object is required (thanks @om4james)
    • #119 Stricter type checking when resolving references, avoid trying to call methods on array
    • #144 Catch recursion when resolving inside included file

    Dependencies:

    Other changes:

    • Reworked CI (thanks @simPod)
    • Added Docker environment for local development
    Open source →
  4. 1.5.2 24 May 2021
    Release notes

    Bugfixes:

    • #87, #102 Fix PathItem::resolveReferences() for array fields, a PHP Notice had been thrown (thanks @izucken and @rv1971)
    • #107 Inline references does not resolve relative references (thanks @marcelthole)
    • #95 Adjust relative URLs for externalValue fields in Example Objects when inlining references.

    Documentation:

    • Fixed typos in README and CLI help (thanks @ssfinney)
    Open source →
  5. 1.5.1 16 Feb 2021
    Release notes

    Bugs

    • #94 Fixed resolving relative paths with multiple ../ (thanks @il-m-yamagishi)

    Documentation

    Open source →
  6. 1.5.0 31 Dec 2020
    Release notes

    Improvements:

    • Overall performance improvements and other optimization for loading references
    • #63 Added option to only resolve external references (inlining)

    Bugfixes:

    • #74 Fix PHPDoc for exclusiveMinimum and exclusiveMaximum to boolean (thanks @canvural)
    • #92 Resolving references to external files did not work correctly on windows (thanks @Insolita)

    Other changes:

    Open source →
  7. 1.4.2 27 May 2020
    Release notes
    • #61 Allow Symfony YAML 4.4 to be installed
    Open source →
  8. 1.4.1 07 Apr 2020
    Release notes
    Open source →
  9. 1.4.0 06 Mar 2020
    Release notes
    Open source →
  10. 1.3.4 28 Feb 2020
    Release notes
    • #57 Fix transitive reference resolving in the current document context
    Open source →
  11. 1.3.3 16 Dec 2019

    Nothing published for this version

  12. 1.3.2 04 Dec 2019

    Nothing published for this version

  13. 1.3.1 29 Oct 2019

    Nothing published for this version

  14. 1.3.0 25 Oct 2019

    Nothing published for this version

  15. 1.2.1 24 Oct 2019

    Nothing published for this version

  16. 1.2.0 28 Jun 2019

    Nothing published for this version

  17. 1.1.0 21 Jun 2019

    Nothing published for this version

  18. 1.0.1 20 May 2019

    Nothing published for this version

  19. 1.0.0 19 Apr 2019

    Nothing published for this version

  20. 0.9.3-beta 22 Mar 2019 pre-release

    Nothing published for this version

  21. 0.9.2-beta 03 Jan 2019 pre-release

    Nothing published for this version

  22. 0.9.1-beta 03 Dec 2018 pre-release

    Nothing published for this version

  23. 0.9.0-beta 22 Nov 2018 pre-release

    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