insidion/swagger-bundle
Symfony bundle that generates Swagger/OpenAPI documentation from annotations and serves an interactive UI for browsing and testing API endpoints. It integrates with Symfony routing and configuration to make API docs easy to generate and maintain.
Treat 2.0.0-alpha4 as a pre-release. Start by checking the package’s composer.json constraints before installing, especially any symfony/* requirements.
Minimal steps:
composer update --with-dependencies in a branch, not directly on production.First use case: wire the package into a small Laravel feature test or artisan command that resolves its main service from the container. Since the release removed the SymfonyKernel alias in tests, do not rely on that alias in your own test bootstrap. Prefer Laravel’s TestCase, application container, and package service provider.
Use the package behind Laravel’s container and configuration rather than calling Symfony components directly from application code. This keeps upgrades isolated if the package’s Symfony constraints change again.
Common patterns:
composer.json when the package’s constraints are broad or conflict with your app.Workflow for this alpha:
composer why-not if dependency resolution fails.2.0.0-alpha4 is not a stable API. Expect breaking changes before final 2.0.0.SymfonyKernel alias: tests or bootstrap code that referenced the alias may fail. Update tests to use Laravel’s test harness or the package’s current test helpers.composer diagnose, composer why-not, and explicit version pins where needed..gitattributes added: this mainly affects distribution archives and export-ignore behavior, not runtime. It is not a reason to upgrade by itself.php artisan clear-compiled, composer dump-autoload, and a single container-resolution test before debugging higher-level behavior.How can I help you explore Laravel packages today?