Merge branch 'master' of github.com:steampixel/simplePHPRouter
This commit is contained in:
commit
18ad2e50cb
|
@ -1,6 +1,6 @@
|
||||||
# Simple PHP Router
|
# Simple PHP Router
|
||||||
|
|
||||||
Hey! This is a simple and small PHP router that can handle the whole URL routing for your project.
|
Hey! This is a simple and small single class PHP router that can handle the whole URL routing for your project.
|
||||||
It utilizes RegExp and PHP's anonymous functions to create a lightweight and fast routing system.
|
It utilizes RegExp and PHP's anonymous functions to create a lightweight and fast routing system.
|
||||||
The router supports dynamic path parameters, special 404 and 405 routes as well as verification of request methods like GET, POST, PUT, DELETE, etc.
|
The router supports dynamic path parameters, special 404 and 405 routes as well as verification of request methods like GET, POST, PUT, DELETE, etc.
|
||||||
The codebase is very small and very easy to understand. So you can use it as a boilerplate for a more complex router.
|
The codebase is very small and very easy to understand. So you can use it as a boilerplate for a more complex router.
|
||||||
|
|
|
@ -5,8 +5,14 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "SteamPixel",
|
"name": "Christoph Stitz",
|
||||||
"email": "info@steampixel.de"
|
"email": "info@steampixel.de",
|
||||||
|
"homepage": "https://steampixel.de/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Maximilian Götz",
|
||||||
|
"email": "contact@maxbits.net",
|
||||||
|
"homepage": "https://www.maxbits.net/"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user