simple-php-router
simple-php-router copied to clipboard
Simple, fast and yet powerful PHP router that is easy to get integrated and in any project. Heavily inspired by the way Laravel handles routing, with both simplicity and expand-ability in mind.
i have submitted a pull request
Hello @skipperbent, thanks to the issue #599 reported by @vrgblzs I changed `if ($post !== false) {` to `if ($post !== null) {`. ~ Marius
Add example If you will add specific status code for the browser
We need the feature to use a fixed subdomain and get the domain as dynamic parameter. Implementation was easy: We added the dot as separator before parameters. With another modification,...
Hello, in my route a parameter can contain an forward slash. How can I tell the router not to handle the slash as a new parameter? I tried a custom...
When using the getUrl method it returns whatever is in the name parameter even if the URL doesn't exist, it would be cool to have a method that can check...
… comments from prod
Brief elaboration on my use case(s): When running my unit tests (environment = testing) it would be an advantage if I could return an entire response object from my controller,...
hi. how i can integrate this package with swoole?
PHP 8.2 Creation of dynamic property UnwindExit::$previous is deprecated in vendor/pecee/simple-router/src/Pecee/SimpleRouter/ClassLoader/ClassLoader.php on line 34