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

Swagger Php Laravel Package

zircote/swagger-php

Generate OpenAPI 3.0/3.1/3.2 docs from PHP 8.2+ code using attributes (preferred) or legacy Doctrine annotations. Includes CLI and programmatic APIs, extracts phpdoc metadata, provides helpful error reporting, and outputs ready-to-use specs.

View on GitHub
Deep Wiki
Context7

swagger-php generates OpenAPI documentation for REST APIs by scanning your PHP code. It prefers modern PHP 8 attributes (Doctrine annotations are supported but deprecated) and can output specs for OpenAPI 3.0/3.1/3.2 via CLI or programmatic use.

Designed to keep docs close to implementation, it extracts metadata from attributes and existing phpdoc, reports errors with context, and integrates easily into build pipelines.

  • Supports OpenAPI 3.0.0, 3.1.0, 3.2.0 (configurable)
  • Uses PHP attributes for all metadata (annotations optional)
  • CLI tool (openapi) and Generator API available
  • Extracts data from code + phpdoc
  • Helpful error reporting with hints and context
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4