PHPackages                             mbezhanov/silex-route-annotations - 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. [Framework](/categories/framework)
4. /
5. mbezhanov/silex-route-annotations

ActiveLibrary[Framework](/categories/framework)

mbezhanov/silex-route-annotations
=================================

A service provider that allows you to use @Route annotations in your Silex applications.

0.2.1(8y ago)08.9kMITPHPPHP ^7.0

Since Jun 30Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mbezhanov/silex-route-annotations)[ Packagist](https://packagist.org/packages/mbezhanov/silex-route-annotations)[ RSS](/packages/mbezhanov-silex-route-annotations/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

silex-route-annotations
=======================

[](#silex-route-annotations)

A service provider that allows you to use [@Route](https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/routing.html) annotations in your Silex applications, in order to define routes directly in your Controllers.

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

[](#installation)

Install the library through Composer:

```
composer require mbezhanov/silex-route-annotations
```

Registering
-----------

[](#registering)

To enable @Route annotations, register the Service Provider with your Application:

```
