PHPackages                             abbadon1334/atk4-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. [HTTP &amp; Networking](/categories/http)
4. /
5. abbadon1334/atk4-fastroute

ActiveProject[HTTP &amp; Networking](/categories/http)

abbadon1334/atk4-fastroute
==========================

description

3.1.1(4y ago)416.3k3[1 issues](https://github.com/abbadon1334/atk4-fastroute/issues)[13 PRs](https://github.com/abbadon1334/atk4-fastroute/pulls)MITPHPPHP &gt;=7.4 &lt;8.2

Since Jul 1Pushed 3w ago2 watchersCompare

[ Source](https://github.com/abbadon1334/atk4-fastroute)[ Packagist](https://packagist.org/packages/abbadon1334/atk4-fastroute)[ RSS](/packages/abbadon1334-atk4-fastroute/feed)WikiDiscussions master Synced 3w ago

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

atk4-fastroute
==============

[](#atk4-fastroute)

[![Build Status](https://camo.githubusercontent.com/24c7401ae284242bb13a7564367de051f7fe1eb4f7656214c85ed902f6540986/68747470733a2f2f7472617669732d63692e636f6d2f61626261646f6e313333342f61746b342d66617374726f7574652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.com/abbadon1334/atk4-fastroute)[![Codacy Badge](https://camo.githubusercontent.com/09c66f62fd624da64241f855615ed476ef1407bc465ef04b6940a261f105fead/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3739363131663761346639323465393662623836363333636636306235656362)](https://app.codacy.com/app/abbadon1334/atk4-fastroute?utm_source=github.com&utm_medium=referral&utm_content=abbadon1334/atk4-fastroute&utm_campaign=Badge_Grade_Dashboard)[![Coverage Status](https://camo.githubusercontent.com/49a7eb5d5130d33cd7e645b955fd7cd2e785fefd5f2a8e455b3a93c50963e15d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f61626261646f6e313333342f61746b342d66617374726f7574652f62616467652e7376673f6272616e63683d646576656c6f70)](https://coveralls.io/github/abbadon1334/atk4-fastroute?branch=develop)[![Test Coverage](https://camo.githubusercontent.com/f25a9c73ca605fa6cc54bbe6c9f222e14a5dbc1876719bb034946e7d70133dc9/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63653430633764643965323735653338333362312f746573745f636f766572616765)](https://codeclimate.com/github/abbadon1334/atk4-fastroute/test_coverage)[![Maintainability](https://camo.githubusercontent.com/8bfc7057ba35dbfcb76553c6d9a697cf2786ea1d2f81ac674052e3d840bc776e/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63653430633764643965323735653338333362312f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/abbadon1334/atk4-fastroute/maintainability)

ATK4 integration with FastRoute

Still needs :

- more test for patterns route
- test for calls with extraparameters
- check if can be simplified
- add Translation as option
    - add slugging of routes
- check if can be added MiddlewareInterface
    - to be executed by pattern (Another Router in Router that dispatch MW by route match) ?
    - to be executed per route (before handlingRoute)?
- add comments to public methods!!!
- add documentation

EXPERIMENTAL
------------

[](#experimental)

Define routes :

- RoutedCallable : as Callable
- RoutedUI : as atk4/ui/\* Class to be added to the App
- RoutedMethod : as Class Method to be called like a controller

Routes can be serialized as array to allow loading from external file.

Using Interface implementation to define behaviour and needs of the class ( like flags ) :

- iBeforeRoutable : request method OnBeforeRoute which will be called right before OnRoute ( setting up app? )
- iAfterRoutable : request method OnAfterRoute which will be called right after OnRoute ( setup other elements? )
- iArrayable : have fromArray and toArray to be serializeable
- iNeedAppRun : if is needed to call -&gt;app-&gt;run() after Routing method calls

Next step
---------

[](#next-step)

- Having a collection of routes, that in the future can be translatable

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance57

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 87.4% 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 ~95 days

Recently: every ~75 days

Total

11

Last Release

1604d ago

Major Versions

1.1.1 → 2.0.02020-02-15

2.4.1 → 3.1.02022-02-02

PHP version history (4 changes)v1.0.0PHP &gt;=7.2

2.0.0PHP &gt;=7.3

2.3.5PHP &gt;=7.4

3.1.1PHP &gt;=7.4 &lt;8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5801824?v=4)[Francesco Danti](/maintainers/abbadon1334)[@abbadon1334](https://github.com/abbadon1334)

---

Top Contributors

[![abbadon1334](https://avatars.githubusercontent.com/u/5801824?v=4)](https://github.com/abbadon1334 "abbadon1334 (202 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (21 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (6 commits)")[![codacy-badger](https://avatars.githubusercontent.com/u/23704769?v=4)](https://github.com/codacy-badger "codacy-badger (1 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

agileatk4fast-routerouting

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/abbadon1334-atk4-fastroute/health.svg)

```
[![Health](https://phpackages.com/badges/abbadon1334-atk4-fastroute/health.svg)](https://phpackages.com/packages/abbadon1334-atk4-fastroute)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[mimmi20/browser-detector

Library to detect Browsers and Devices

48156.1k4](/packages/mimmi20-browser-detector)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[mezzio/mezzio-swoole

Swoole support for Mezzio

92247.8k3](/packages/mezzio-mezzio-swoole)[laminas/laminas-psr7bridge

Bidirectional conversions between PSR-7 and laminas-http messages

118.1M19](/packages/laminas-laminas-psr7bridge)[mezzio/mezzio-skeleton

Laminas mezzio skeleton. Begin developing PSR-15 middleware applications in seconds!

12926.5k](/packages/mezzio-mezzio-skeleton)

PHPackages © 2026

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