PHPackages                             open-solid/open-api-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. open-solid/open-api-bundle

ActiveSymfony-bundle[API Development](/categories/api)

open-solid/open-api-bundle
==========================

Provides a tight integration of OpenApi into the Symfony full-stack framework

v0.3.1(8mo ago)794MITPHPPHP &gt;=8.2CI failing

Since Mar 25Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/open-solid/open-api-bundle)[ Packagist](https://packagist.org/packages/open-solid/open-api-bundle)[ RSS](/packages/open-solid-open-api-bundle/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (4)Dependencies (10)Versions (6)Used By (0)

OpenApiBundle
=============

[](#openapibundle)

Provides a tight integration of the famous [`zircote/swagger-php`](https://github.com/zircote/swagger-php) library into the Symfony full-stack framework for generating OpenAPI spec and building Restful APIs quickly.

This bundle is especially created for API-First development.

Installation
------------

[](#installation)

```
composer require open-solid/open-api-bundle
```

Import the bundle's routes in `config/routes.yaml` to show the Swagger API documentation:

```
openapi:
    resource: '@OpenApiBundle/config/routes.php'
```

Basic Sample
------------

[](#basic-sample)

Define your OpenAPI spec and endpoint at the same time:

```
