Update README.md

This commit is contained in:
William 2025-04-03 15:07:10 +00:00
parent 0019795655
commit 1daa73b9a0

View File

@ -36,8 +36,22 @@ require '/change_this/Route.php'
See `example.php`
## Access directly
The simplest way to access your routes. Just put the file in your favorite folder and run it!
For example
`http://your.site/folder/index.php/route`
## Rewrite requests
The more sexy way of doing it.
For example
`http://your.site/route`
### NGINX
With PHP already configured, add this to the server block of your configuration to make requests that don't match a file on your server to be sent to your front controller and begin routing.