Weave 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
Open Api Bundle

Open Api Bundle Laravel Package

open-solid/open-api-bundle

Symfony bundle for generating OpenAPI 3 specifications from PHP attributes, routes, and DTOs. Build schema definitions and served API documentation with minimal duplication, keeping your code and OpenAPI descriptions in sync.

View on GitHub
Deep Wiki
Context7

OpenAPI Symfony Bundle

Frequently asked questions about Open Api Bundle
What is open-solid/open-api-bundle used for?
It is a Symfony bundle for generating OpenAPI 3 specifications from PHP attributes, routes, and DTOs. It is intended to keep schema definitions and served API documentation in sync with your code while reducing duplication. It is not described as a Laravel-specific package.
Is open-solid/open-api-bundle compatible with Laravel?
It is a Symfony bundle, so it is not a native Laravel package. Laravel developers can review the source or adapt concepts, but you should verify compatibility and integration effort before adding it to a Laravel app. For Laravel-first OpenAPI generation, native Laravel packages are usually a better fit.
How do I install open-solid/open-api-bundle?
Install it with Composer using the package name open-solid/open-api-bundle. Because it is a Symfony bundle, you will also need to register or enable it in your Symfony application configuration according to the README. Check the repository for exact bundle registration and configuration steps.
Which OpenAPI version does open-solid/open-api-bundle generate?
The package is described as generating OpenAPI 3 specifications. That means the output should be usable with OpenAPI 3 tooling such as documentation renderers and client generators, subject to the features you use. Confirm any version-specific details in the README.
Can it generate schemas from DTOs, routes, and PHP attributes?
Yes, the overview states that it builds OpenAPI 3 specifications from PHP attributes, routes, and DTOs. This helps reduce duplication between your PHP classes, Symfony routes, and OpenAPI descriptions. Review the README for supported type mappings and attribute options.
Can open-solid/open-api-bundle serve API documentation?
The package blurb mentions served API documentation with minimal duplication. It does not specify the UI tooling in the provided context, so check the README for how documentation endpoints are exposed. You may still need a renderer such as Swagger UI or Redoc depending on the bundle's built-in support.
Which Symfony versions does open-solid/open-api-bundle support?
The provided overview does not list supported Symfony versions. Check composer.json and the README on GitHub for the exact Symfony version constraints. Test against your application's Symfony version before adopting it.
Do I need to configure open-solid/open-api-bundle to scan my application?
The package is described as using PHP attributes, routes, and DTOs, so some configuration or scanning setup is likely required. The exact options are not included in the overview, so review the README for bundle registration and configuration details. Start with a small endpoint to confirm what is discovered automatically.
Is open-solid/open-api-bundle production-ready and well tested?
The provided context does not include test coverage, release cadence, or production usage details. Review the GitHub repository for CI status, open issues, release activity, and version constraints before adopting it. Validate generated specs in CI and test in a staging environment before using it in production.
What alternatives should Laravel developers consider to open-solid/open-api-bundle?
For Laravel, evaluate native packages such as dedoc/scramble or knuckleswtf/scribe depending on whether you need OpenAPI generation or interactive documentation. This Symfony bundle is not a drop-in Laravel solution. Compare feature fit, maintenance activity, and output format before choosing an alternative.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource