Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Swagger Php Laravel Package

zircote/swagger-php

Generate OpenAPI 3.0/3.1/3.2 specs from PHP 8.2+ code using attributes (preferred) or legacy Doctrine annotations. Provides a CLI and programmatic API, extracts from phpdoc, and reports errors with context for REST API documentation.

View on GitHub
Deep Wiki
Context7
6.7.0

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.6.0...6.7.0

6.6.0

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.5.3...6.6.0

6.5.3

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.5.2...6.5.3

6.5.2

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.5.1...6.5.2

6.5.1

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.5.0...6.5.1

6.5.0

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: https://github.com/zircote/swagger-php/compare/6.4.0...6.5.0

6.4.0

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.3.2...6.4.0

6.3.2

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.3.1...6.3.2

6.3.1

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.3.0...6.3.1

6.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/zircote/swagger-php/compare/6.2.0...6.3.0

6.2.0

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.1.2...6.2.0

6.1.2

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.1.1...6.1.2

6.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/zircote/swagger-php/compare/6.0.6...6.1.0

6.0.6

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.0.5...6.0.6

5.8.3

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.8.2...5.8.3

5.8.2

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.8.1...5.8.2

6.0.5

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.0.4...6.0.5

6.0.4

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.0.3...6.0.4

5.8.1

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.8.0...5.8.1

5.8.0

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.8...5.8.0

6.0.3

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.0.2...6.0.3

6.0.2

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.0.1...6.0.2

6.0.1

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.0.0...6.0.1

5.7.8

What's Changed

New Contributors

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.7...5.7.8

6.0.0

Biggest impact changes

  • Requires PHP 8.2
  • radebatz/type-info-extras is now a required dependency
  • The type-info based TypeInfoTypeResolver is now the default
  • Inital support for OpenAPI 3.2.0 has been added
  • All 5.x deprecations have been removed

Migration guide

What's Changed

New Contributors

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.3...6.0.0

6.0.0-RC4

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.0.0-RC3...6.0.0-RC4

6.0.0-RC3

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/6.0.0-RC2...6.0.0-RC3

5.7.7

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.6...5.7.7

5.7.6

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.5...5.7.6

6.0.0-RC2

What's Changed

New Contributors

Full Changelog: https://github.com/zircote/swagger-php/compare/6.0.0-RC1...6.0.0-RC2

5.7.5

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.4...5.7.5

5.7.4

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.3...5.7.4

6.0.0-RC1

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.3...6.0.0-RC1

5.7.3

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.2...5.7.3

5.7.2

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.1...5.7.2

5.7.1

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.7.0...5.7.1

5.7.0

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.6.1...5.7.0

5.6.1

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.6.0...5.6.1

5.6.0

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.5.2...5.6.0

5.5.1

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.5.0...5.5.1

5.5.0

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.4.2...5.5.0

5.4.2

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.4.1...5.4.2

5.4.1

What's Changed

Full Changelog: https://github.com/zircote/swagger-php/compare/5.4.0...5.4.1

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle