PHPackages                             alejoluc/via - 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. alejoluc/via

ActiveLibrary[Framework](/categories/framework)

alejoluc/via
============

Simple PHP Router, with prefix groups and filtering

0.13.0(3y ago)034MITPHPPHP &gt;=5.6.0CI failing

Since Jun 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/alejoluc/Via)[ Packagist](https://packagist.org/packages/alejoluc/via)[ Docs](https://github.com/alejoluc/Via)[ RSS](/packages/alejoluc-via/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

alejoluc\\Via
=============

[](#alejolucvia)

Simple PHP router with prefix grouping and filters

Work in Progress
----------------

[](#work-in-progress)

This README file is a work in progress and is in the process of being written. In the meantime, please refer to the `examples` folder to get started.

Usage
-----

[](#usage)

Please refer to the `examples` folder to see how to use the router, along with usage of grouping and filters.

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

[](#installation)

From the command line:

`composer require alejoluc/via`

Or write manually in `composer.json`:

```
{
  "require": {
    "alejoluc/via": "*"
  }
}
```

Using the "Facade"
------------------

[](#using-the-facade)

A "Facade" is provided for those that want clearer code and don't mind using static classes here and there. You can use any method of the `Router` class when calling the Facade.

```
