router
A lightweight and fast router for PHP (by piko-framework)
routing
Maps an HTTP request to a set of configuration variables (by symfony)
Our great sponsors
router | routing | |
---|---|---|
1 | 3 | |
63 | 7,540 | |
- | 0.4% | |
1.9 | 7.7 | |
about 1 year ago | 11 days ago | |
PHP | PHP | |
GNU Lesser General Public License v3.0 only | MIT License |
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.
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.
routing
Posts with mentions or reviews of routing.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-25.
-
olvlvl/composer-attribute-collector v1.2.0
Packages that support attributes for configuration need to roll out their own attribute collector for PHP doesn't provide a feature to query the entire code base for attributes. For example, here's one of the classes that deal with attributes for symfony/routing: https://github.com/symfony/routing/blob/6.2/Loader/AnnotationClassLoader.php. That's what this plugin offers: "a convenient and near zero-cost way to retrieve targets of PHP 8 attributes.". If you're not the maintainer of a package that deals with attributes you probably don't need that.
-
Piko router, a lightweight and blazing fast router for PHP
To demonstrate this search efficiency, I wrote some benchmark tests to compare Piko router against Fastroute and Symfony Router which are references in their domain.
-
Trying to Learn MVC for Laravel but kind of not sold on it , can someone explain/help?
- Symfony's Router
What are some alternatives?
When comparing router and routing you can also consider the following projects:
router - Router implementation for fasthttp
Fast Route - Fast request router for PHP
matchit - A high performance, zero-copy URL router.
clean-code-php - :bathtub: Clean Code concepts adapted for PHP
find-my-way - A crazy fast HTTP router
slim4-skeleton - A Slim 4 Skeleton
Klein - A fast & flexible router
phocus - A lightweight router with one purpose: route. No dependencies, no mess.
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.
dispatch - a tiny library for quick and easy PHP apps
http-kernel - Provides a structured process for converting a Request into a Response