PHPackages                             radebatz/silex2swagger - 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. radebatz/silex2swagger

AbandonedArchivedLibrary[API Development](/categories/api)

radebatz/silex2swagger
======================

Generate swagger documentation from Silex Annotations

v3.0.5(7y ago)47.3k2[1 issues](https://github.com/DerManoMann/silex2swagger/issues)MITPHPPHP &gt;=5.6

Since Mar 14Pushed 6y ago2 watchersCompare

[ Source](https://github.com/DerManoMann/silex2swagger)[ Packagist](https://packagist.org/packages/radebatz/silex2swagger)[ Docs](http://radebatz.net/mano/)[ RSS](/packages/radebatz-silex2swagger/feed)WikiDiscussions master Synced 1mo ago

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

Bridge to generate swagger documentation from Silex Annotations
===============================================================

[](#bridge-to-generate-swagger-documentation-from-silex-annotations)

[![Build Status](https://camo.githubusercontent.com/d482285d35f29a7bee93dc9ad221427903dfc5fca5dcf1f880778ddb22031751/68747470733a2f2f7472617669732d63692e6f72672f4465724d616e6f4d616e6e2f73696c657832737761676765722e706e67)](https://travis-ci.org/DerManoMann/silex2swagger)

Introduction
------------

[](#introduction)

[Silex Annotations](https://github.com/danadesrosiers/silex-annotation-provider) are an easy way to configure routes in Silex. With this bridge, in combination with [Swagger-PHP](https://github.com/zircote/swagger-php), it is easy to generate basic swagger documentation from these annotations.

Typically the Swagger annotations are added on top of existing Silex annotations to complement/complete the definitions.

---

For OpenApi 3.0 and support for other frameworks use [radebatz/openapi-router](https://packagist.org/packages/radebatz/openapi-router)
--------------------------------------------------------------------------------------------------------------------------------------

[](#for-openapi-30-and-support-for-other-frameworks-use-radebatzopenapi-router)

---

Mixing Silex and Swagger annotations
------------------------------------

[](#mixing-silex-and-swagger-annotations)

```
