Our great sponsors
- InfluxDB - Access the most powerful time series database as a service
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
- CodiumAI - TestGPT | Generating meaningful tests for busy devs
- SonarLint - Clean code begins in your IDE with SonarLint
-
First, I would recommend to use an router library instead for making your own. Routing isn't as easy as it looks at first glance. League Route is a common option (based on Nikita Popov’s FastRoute).
-
Laravel
Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
This is how Laravel and Slim does this.
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
phroute
A super fast PHP router, with route parameters, restful controllers, filters and reverse routing.
Using a router library like FastRoute or Phroute to show the example