PHPackages                             vale360/swagger-bundle-p360 - 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. vale360/swagger-bundle-p360

ActiveLibrary[API Development](/categories/api)

vale360/swagger-bundle-p360
===========================

Implementation of swagger-php for Symfony

0.2.3(1y ago)07.5k↓24.3%MITPHPCI passing

Since Jul 19Pushed 1y agoCompare

[ Source](https://github.com/vale360/swagger-bundle-p360)[ Packagist](https://packagist.org/packages/vale360/swagger-bundle-p360)[ RSS](/packages/vale360-swagger-bundle-p360/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (9)Used By (0)

SwaggerBundle
=============

[](#swaggerbundle)

[![Travis](https://camo.githubusercontent.com/9f996ff705421a4478ff94ba8869eab2b76a1c6a4a56257a89b5a29c0890eb47/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f76616c653336302f737761676765722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/vale360/swagger-bundle)[![Packagist](https://camo.githubusercontent.com/7c2fde4cf8e745f01d9298a227c77c59f1d158f19cd9f955b15d17736826af33/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76616c653336302f737761676765722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vale360/swagger-bundle)This bundle provides integration of [swagger-php](https://github.com/zircote/swagger-php) in [Symfony](https://symfony.com/). It should only run in the dev environment, as searching for annotations at runtime is not performant. The bundle comes with the ability to generate a `swagger.json` file that can be statically served.

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

[](#installation)

Install via Composer:

```
composer require vale360/swagger-bundle-p360 --dev
```

Enable Bundle
-------------

[](#enable-bundle)

In your `app/AppKernel.php` file, add the following to your list of dev bundles:

```
