PHPackages                             bulton-fr/bfw-fastroute - 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. bulton-fr/bfw-fastroute

ActiveLibrary

bulton-fr/bfw-fastroute
=======================

Router module for BFW

2.0.x-dev(9y ago)1234[1 issues](https://github.com/bfw-systems/fastroute/issues)LGPL-3.0PHP

Since Feb 7Pushed 6y ago2 watchersCompare

[ Source](https://github.com/bfw-systems/fastroute)[ Packagist](https://packagist.org/packages/bulton-fr/bfw-fastroute)[ Docs](https://github.com/bulton-fr/bfw-fastroute)[ RSS](/packages/bulton-fr-bfw-fastroute/feed)WikiDiscussions 2.0 Synced 1mo ago

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

bfw-fastroute
=============

[](#bfw-fastroute)

[![Build Status](https://camo.githubusercontent.com/6fb93bf47b98fc794d61c02e058f2e41bb2ff3bf92dc19dc107976c221f85b37/68747470733a2f2f7472617669732d63692e6f72672f62756c746f6e2d66722f6266772d66617374726f7574652e7376673f6272616e63683d322e30)](https://travis-ci.org/bulton-fr/bfw-fastroute) [![Coverage Status](https://camo.githubusercontent.com/fa638bc0eace53842d61bea06b79dd007e2e53219e4241e6d598e3aae8e2af53/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f62756c746f6e2d66722f6266772d66617374726f7574652f62616467652e7376673f6272616e63683d322e30)](https://coveralls.io/github/bulton-fr/bfw-fastroute?branch=2.0) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/883d1032d07fcc190fe3f14bef6b8279c4709327b97782818f10ad5b11674ab5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62756c746f6e2d66722f6266772d66617374726f7574652f6261646765732f7175616c6974792d73636f72652e706e673f623d322e30)](https://scrutinizer-ci.com/g/bulton-fr/bfw-fastroute/?branch=2.0)[![Latest Stable Version](https://camo.githubusercontent.com/774d144c594c763fcb07c50db87b9603857287e419f719aef9d2427b710c6f2a/68747470733a2f2f706f7365722e707567782e6f72672f62756c746f6e2d66722f6266772d66617374726f7574652f762f737461626c65)](https://packagist.org/packages/bulton-fr/bfw-fastroute) [![License](https://camo.githubusercontent.com/9796b9a2a64692df24b4f3094fc2be3d0121d346d35976fb4f3f0b0e68ccb236/68747470733a2f2f706f7365722e707567782e6f72672f62756c746f6e2d66722f6266772d66617374726f7574652f6c6963656e7365)](https://packagist.org/packages/bulton-fr/bfw-fastroute)

Router module for the framework BFW. Use the lib [fastRoute](https://github.com/nikic/FastRoute)

---

**Install :**

You can use composer to get the module : `composer require bulton-fr/bfw-fastroute @stable`

And to install the module : `./vendor/bin/bfwInstallModules`

**Config :**

All config file for this module will be into `app/config/bfw-fastroute/`. There is one file to configure (manifest.json is for the module update system).

The file routes.php

- `routes` : All routes defined. You have an exemple for the format to use. For the key "target", referer you to the controller module used.

**Example :**

Extract from the [BFW wiki](https://bfw.bulton.fr/wiki/v3.0/fr/scripts-d-exemple#web), an exemple of the config file to use with the module [bfw-controller](https://github.com/bulton-fr/bfw-controller).

```
