router
Router implementation for fasthttp (by fasthttp)
matchit
A high performance, zero-copy URL router. (by ibraheemdev)
Our great sponsors
router | matchit | |
---|---|---|
3 | 2 | |
433 | 318 | |
3.5% | - | |
6.3 | 7.6 | |
about 2 months ago | 5 days ago | |
Go | Rust | |
BSD 3-clause "New" or "Revised" License | 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 found libraries in other programming languages that use this approach : matchit (Rust), find-my-way (Javascript), fasthttp (Go) But, curiously, no one in PHP. That's why I decided to bring my contribution to have the same approach in PHP.
-
Go and Trie!
You can dive deeper if you wish.
-
Have you used a trie in Go?
https://github.com/fasthttp/router for example
matchit
Posts with mentions or reviews of matchit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-04.
-
Any simple router crates?
I use this one for simple routing and it's been working great for me. https://github.com/ibraheemdev/matchit
-
Piko router, a lightweight and blazing fast router for PHP
I found libraries in other programming languages that use this approach : matchit (Rust), find-my-way (Javascript), fasthttp (Go) But, curiously, no one in PHP. That's why I decided to bring my contribution to have the same approach in PHP.
What are some alternatives?
When comparing router and matchit you can also consider the following projects:
routing - Maps an HTTP request to a set of configuration variables
gods - GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more
router - A lightweight and fast router for PHP
freerouting - Advanced PCB auto-router
find-my-way - A crazy fast HTTP router
gowww/router - ⚡️ A lightning fast HTTP router
usher - Parameterized routing for generic resources in Rust
go-patricia - A generic patricia trie (also called radix tree) implemented in Go (Golang)
Fast Route - Fast request router for PHP
gotrie - A golang reader for a in-house, modified stevehanov's succinct trie implementation (http://stevehanov.ca/blog/?id=120) serialized to uint16 instead of base64.