PHP Routers

Open-source PHP projects categorized as Routers

Top 9 PHP Router Projects

  1. Fast Route

    Fast request router for PHP

    Project mention: Composition vs. Inheritance in PHP Frameworks | dev.to | 2025-05-22

    Another interesting case is the FastRouteDispatcher class in Slim, which extends the GroupCountBased class from the FastRoute library. Although the GroupCountBased class is marked as @final in its docblock, it isn't technically marked with the final keyword in code. This annotation is a convention, signaling that the class should not be extended, even if PHP itself doesn’t enforce it.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Klein

    A fast & flexible router

  4. AltoRouter

    PHP routing class. Lightweight yet flexible. Supports REST, dynamic and reversed routing.

  5. Route

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

  6. Aura.Router

    A web router implementation for PHP.

  7. looking-glass

    Easy to deploy Looking Glass

  8. http-router

    A powerful solution as the foundation of your project.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. SwitchRoute

    Generate a PHP script for faster routing :rocket:

  11. Croute

    Convention based routing for PHP

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP Routers discussion

Log in or Post with

PHP Routers related posts

  • Composition vs. Inheritance in PHP Frameworks

    4 projects | dev.to | 22 May 2025
  • A Faster Router System in PHP

    4 projects | /r/PHP | 22 Jun 2023
  • One action page to serve multiple pages? Or individual action pages?

    2 projects | /r/PHPhelp | 9 Jun 2023
  • Just created a dependency-free lightweight HTTP router

    4 projects | /r/PHP | 14 May 2023
  • What the namespace is going on!?

    5 projects | /r/PHPhelp | 12 Mar 2023
  • Structuring REST API

    4 projects | /r/PHPhelp | 3 Mar 2023
  • Seeking recommendation for drop in Router for legacy file based PHP app

    2 projects | /r/PHPhelp | 15 Feb 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 Jun 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Router projects in PHP? This list will help you:

# Project Stars
1 Fast Route 5,177
2 Klein 2,668
3 AltoRouter 1,241
4 Route 657
5 Aura.Router 500
6 looking-glass 488
7 http-router 161
8 SwitchRoute 79
9 Croute 12

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that PHP is
the 14th most popular programming language
based on number of references?