KRouter
A simple routing class for use with @Route and @Method annotations in your vanilla PHP project. (by KaiserWerk)
router
A lightweight and fast router for PHP (by piko-framework)
KRouter | router | |
---|---|---|
1 | 1 | |
5 | 63 | |
- | - | |
0.0 | 1.9 | |
over 2 years ago | about 1 year ago | |
PHP | PHP | |
MIT License | GNU Lesser General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
KRouter
Posts with mentions or reviews of KRouter.
We have used some of these posts to build our list of alternatives
and similar projects.
-
A little router for vanilla projects
here you create a reflection object from get_declared_classes which returns ANY class which has been defined. The only reason this works at all is because it looks like you recommend to use include 'FooController.php' before running this code, as classes are defined at the point at which they are needed, and not before. This is unbelievably inefficient. Running PHP from my command line that's already almost 200 classes before you've defined anything. Yes you filter it later, but you've already hit the inefficiency. Reflection isn't free.
router
Posts with mentions or reviews of router.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-07.
-
Piko router, a lightweight and blazing fast router for PHP
I recently wrote a new PHP router (Piko router) that stick out from the others by its implementation.
What are some alternatives?
When comparing KRouter and router you can also consider the following projects:
routing - Maps an HTTP request to a set of configuration variables
router - Router implementation for fasthttp
matchit - A high performance, zero-copy URL router.
find-my-way - A crazy fast HTTP router
Klein - A fast & flexible router
phocus - A lightweight router with one purpose: route. No dependencies, no mess.