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.
Je ne parviens pas à récupérer les sonné de mon formulaire envoyer en POST au niveau de mon controller j'ai une erreur lorsque je soumet mon formulaire. Fatal Error. ArgumentCountError....
Hi, thanks for this brilliant packet! But.. I have a one small problem. What I want to make? If someone people is visit my site: www.site.com is the look for...
Is there a way to class hint a class with constructor or pass an object instance?
With the introduction of https://httpd.apache.org/docs/trunk/mod/mod_dir.html#fallbackresource , many have now moved away from the popular mod_rewrite solution to map non-existent files/folders onto something like index.php, towards using FallbackResource. I find it...
PHP >= 7.3
Hey, require PHP 7.3 and upgrade to PHPUnit tests v8.5 in the next major release. [PHP 7.1 isn't supported anymore](https://www.php.net/supported-versions.php).
Hello @skipperbent, after you merged the PR #515 bringing support for PHP 7.3 and an upgraded for phpstan, this PR focuses on the release for support PHP 7.4. I did...
Using this in php 8.1 throws an error when attempting to use the Router::router->getUrl() function. ``` string 'strtolower(): Passing null to parameter #1 ($string) of type string is deprecated' ```...
With this PR i want to resolve my bad solution from #598 I added a new global variable which will contains the current processing rule while processing. So the data...
Hello. I am using `throw new NotFoundHttpException();` within each route to raise an exception. However, I am having trouble with the `Page not found` string not being output even though...
Hello @skipperbent, thanks to the Issue #606 by @riku22, after some deep debugging, I was able to discover two cases, where the rewriteCallback return value is ignored and therefor not...