Optimizing my MVC Routing Class

This page summarizes the projects mentioned and recommended in the original post on /r/PHPhelp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • php-mvc

    A simple PHP model-view-controller framework, built step-by-step as part of the "Write PHP like a pro: build an MVC framework from scratch" course on Udemy.

    The class is heavily taken from a tutorial - https://github.com/daveh/php-mvc/blob/master/Core/Router.php which reviewing the issues, someone added HTTP method checks here - https://github.com/daveh/php-mvc/issues/33

  • Fast Route

    Fast request router for PHP

    The basics is the RouteCollection - https://github.com/nikic/FastRoute/blob/master/src/RouteCollector.php

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • router

    A lightweight and simple object oriented PHP Router (by bramus)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts