PHPackages                             chomenko/inline-routing - 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. chomenko/inline-routing

ActiveExtension[Framework](/categories/framework)

chomenko/inline-routing
=======================

Inline routing from Nette framework

0123PHP

Since Sep 23Pushed 6y agoCompare

[ Source](https://github.com/chomenko/Inline-Routing)[ Packagist](https://packagist.org/packages/chomenko/inline-routing)[ RSS](/packages/chomenko-inline-routing/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Inline Routing
==============

[](#inline-routing)

[Symfony Routing](https://symfony.com/doc/current/routing.html) adapter into [Nette](https://nette.org/)

Required
--------

[](#required)

Install these packages with [composer](https://getcomposer.org/). Packages kdyby/doctrine, kdyby/annotations require configurations.

- [symfony/config](https://symfony.com/doc/current/components/config.html)
- [symfony/routing](https://symfony.com/doc/current/routing.html#creating-routes)
- [kdyby/doctrine](https://github.com/Kdyby/Doctrine/blob/master/docs/en/index.md)
- [kdyby/annotations](https://github.com/Kdyby/Annotations/blob/master/docs/en/index.md)

Install and configure
---------------------

[](#install-and-configure)

The best way to install chomenko/inline-routing is using [Composer](http://getcomposer.org/):

```
composer require chomenko/inline-routing
```

and now enable the extension using your neon config

```
extensions:
	console: Kdyby\Console\DI\ConsoleExtension
	events: Kdyby\Events\DI\EventsExtension
	annotations: Kdyby\Annotations\DI\AnnotationsExtension
	doctrine: Kdyby\Doctrine\DI\OrmExtension

	inlineRouting: Chomenko\InlineRouting\DI\InlineRoutingExtension
```

and adding trait into base presenter

```
