-
Hello Developers,
I have had problems with Flarum indeed appears to me in changing the avatar or by calling the forum posts that I have no Permissions.
I have tried everything and the directories in…
ghost updated
8 years ago
-
Hi,
I have a use case where I'd like a result observer to be able to "halt" the dispatch process (basically, I have a pre-routing middleware doing some work, but this work can then only be exploited …
-
In PHP 7 some errors that were previously fatal are now catchable exceptions (e.g. parse error).
Expressive doesn't support this new type of exceptions because it typehints exceptions to \Exception.
…
-
I wonder, if it would make sense, if the `HomePageAction` and `PingAction` implement the `Zend\Stratigility\MiddlewareInterface`.
-
I'm porting middleman to PSR-15, and I think we still have a type issue.
How do you check if a given value is middleware?
Currently, I have to do this:
``` php
if ($value instanceof MiddlewareInter…
-
**_1 Upvote**_ From tobyzerner.com/mithril:
> Instead of using the whole framework, we will explicitly pull in components and tie everything together with a custom bootstrapping process. This will al…
-
The final handler is an optional argument to the constructor of Application however if you attempt to run the application without one it will result in a fatal error.
```
Fatal error: Uncaught TypeEx…
-
The problem occurs when I try to return add a JsonResponse to the $next callable in pre_routing. Having something in post_routing doesn't really make any difference but I was expecting the request to …
-
When you will suspend a User you became a error....
When you will suspend a User you became a error....
{
"errors": [{
"code": 500,
"title": "Internal Server Error",
"det…
ghost updated
9 years ago
-
What about regex support ? It can be more functional optionally if its support regex.
``` php
$app = MiddlewarePipe('/api', $callable);
or i can use MiddlewareRegexPipe class.
$app = new Middleware…