PHPackages                             matt-harvey/auraxx - 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. matt-harvey/auraxx

ActiveLibrary

matt-harvey/auraxx
==================

A router for PHP MVC applications, based on Aura.Router

v0.6.1(1y ago)1446[2 issues](https://github.com/matt-harvey/auraxx/issues)MITPHPPHP &gt;=8.2.0

Since May 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/matt-harvey/auraxx)[ Packagist](https://packagist.org/packages/matt-harvey/auraxx)[ Docs](https://github.com/matt-harvey/auraxx)[ RSS](/packages/matt-harvey-auraxx/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (11)Used By (0)

auraxx
======

[](#auraxx)

[![Github actions Build](https://github.com/matt-harvey/auraxx/workflows/tests/badge.svg)](https://github.com/matt-harvey/auraxx/actions/workflows/check.yml)[![Latest Stable Version](https://camo.githubusercontent.com/6bfc55ada3c93771172653f4b0d35e6d551383c4da110fe13f6f2b4743ae6103/687474703a2f2f706f7365722e707567782e6f72672f6d6174742d6861727665792f6175726178782f76)](https://packagist.org/packages/matt-harvey/auraxx)[![Total Downloads](https://camo.githubusercontent.com/bb98fc224bf443b7d2b9a7e0e376fef94bd8ed8a18a9fb02752925f3b08965d8/687474703a2f2f706f7365722e707567782e6f72672f6d6174742d6861727665792f6175726178782f646f776e6c6f616473)](https://packagist.org/packages/matt-harvey/auraxx)[![Latest Unstable Version](https://camo.githubusercontent.com/3ec54337394a662d406d574b8acd674b7a152862236b66396fb63f21863f6bea/687474703a2f2f706f7365722e707567782e6f72672f6d6174742d6861727665792f6175726178782f762f756e737461626c65)](https://packagist.org/packages/matt-harvey/auraxx)[![License](https://camo.githubusercontent.com/ba830751432e754e27217b905399ed24454b944347f809aff8dd0bc7330aa800/687474703a2f2f706f7365722e707567782e6f72672f6d6174742d6861727665792f6175726178782f6c6963656e7365)](https://packagist.org/packages/matt-harvey/auraxx)[![PHP Version Require](https://camo.githubusercontent.com/0fc1ffb5350027a9daf7addf1bed96314468a91c54569236234241c0ea9ada6d/687474703a2f2f706f7365722e707567782e6f72672f6d6174742d6861727665792f6175726178782f726571756972652f706870)](https://packagist.org/packages/matt-harvey/auraxx)

> a PSR-friendly, Aura-based, MVC-inclined PHP router

Motivation
----------

[](#motivation)

**Auraxx** is an extension of the [Aura.Router](https://github.com/auraphp/Aura.Router)library, that provides certain additional functionality that I have found to be convenient for developing MVC-style web applications.

It takes its place unashamedly among the 50,000,000 other PHP router packages. I have published it mainly so I can easily reuse this code across my own projects, and I because I have no particular reason to keep it private.

This is pre-alpha-stage, pre-v1 software. The package is very unstable with breaking changes happening at any time. It's MIT licensed so you can use it if you want, but pleased be warned.

Library overview
----------------

[](#library-overview)

The `Auraxx\Router` class is designed to be extended by an application-specific router class that defines the actual routes, and then used in conjunction with an `Auraxx\Application` instance for actually handling a request.

`Auraxx\Router` adds certain functionality to the Aura router container:

- Allows default middleware to be defined globally, by overriding `::getDefaultMiddlewares`, such that middleware order can be configured independently of per-route middleware applicability
- A `::generateUri` method for generating a PSR `UriInterface` instance including optional query data and fragment
- A "convention-over-configuration" mechanism whereby the route name will, by default, determine the controller and method that will be called when that route is resolved (after the middleware layer has been traversed).
- Automatic injection of string or integer route parameters into the controller method based on matching method parameter names and types.
- Methods to configure middleware applicability on a per-route/-route-group basis
- Methods to configure permitted auth roles on a per-route/-route-group basis

Detailed usage
--------------

[](#detailed-usage)

The code has detailed documentation comment blocks. For example code that uses the library, see the [test fixture](https://github.com/matt-harvey/auraxx/tree/main/testutil/Fixture) directory of this repository.

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

[](#installation)

```
composer require matt-harvey/auraxx

```

Contributing
------------

[](#contributing)

If this project seems useful to you, but you'd like to improve or fix it in some way, feel free to raise an Issue or PR.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~104 days

Recently: every ~232 days

Total

10

Last Release

519d ago

PHP version history (2 changes)v0.1.0PHP &gt;=8.1.0

v0.6.0PHP &gt;=8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b92046d7067a88a8fa81cd464784b3cf41d1e2cc691613fd574770e69747e8e1?d=identicon)[matt-harvey](/maintainers/matt-harvey)

---

Top Contributors

[![matt-harvey](https://avatars.githubusercontent.com/u/6045346?v=4)](https://github.com/matt-harvey "matt-harvey (33 commits)")

---

Tags

routermvc

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/matt-harvey-auraxx/health.svg)

```
[![Health](https://phpackages.com/badges/matt-harvey-auraxx/health.svg)](https://phpackages.com/packages/matt-harvey-auraxx)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[slim/slim

Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs

12.2k49.9M1.3k](/packages/slim-slim)[thecodingmachine/graphqlite

Write your GraphQL queries in simple to write controllers (using webonyx/graphql-php).

5723.1M30](/packages/thecodingmachine-graphqlite)[league/route

Fast routing and dispatch component including PSR-15 middleware, built on top of FastRoute.

6633.1M116](/packages/league-route)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
