-
The section Disabling on the System Error Handler docs page suggests that you can disable slim error handling by unsetting the `errorHandler`key in the container.
> To completely disable Slim’s error…
fetzi updated
7 years ago
-
Largely affects the `App` class.
-
In Express and other routing libraries, it's a common pattern to match a route, and then decide in the associated function that the route should no longer matched, and therefore the router should cont…
-
There has been discussions leading to the proposal of using a PHP micro-framework to improve Shaarli's architecture. See #616 (API) and #631 (using proper controllers).
This framework should be able …
-
Some kind of login system. Not sure if I want an actual login with user/pw or use oauth from somewehre else. Both need effort.
-
In the function `Slim\Http\UploadedFile::createFromEnvironment` I found the following lines:
``` php
if (is_array($env['slim.files']) && $env->has('slim.files')) {
return $env['sl…
llvdl updated
7 years ago
-
Hello
I was implementing a route like this:
```
$app->group('/pattern', function () {
$this->get('', '\MyClass:getMethodOnController');
$this->head('', '\MyClass:headMethodOnContro…
-
Slim goes down the middleware stack also for non existent routes, before returning a 404 Response. Then `$request->getAttribute('route')` is null for not existent routes in the middleware.
('determine…
-
Here is the process I would follow :
```
$app->add('authorization');
$app->add('authentication');
... another middleware to remove content extension from URI(.json, .xml...) ...
$app->add(Middleware:…
-
I am trying to implement @akrabat's Session Middleware and Slim-Csrf middleware together, but the validation in the `__construct` is blocking me (or I don't see the correct way).
I am registering bot…
ghost updated
7 years ago