-
The `path_for` returned string starts with a slash, this is inconvenient for applications inside a subdirectory.
Example:
_Route definition_
``` php
$app->get('/{slug}', 'App\Action\ItemAction:disp…
-
As I build an app with Slim 3, I have been musing over how the response handling works, and I'd like to put forward an idea (or get my understanding sorted out).
Currently, we have the ability to let…
-
I think it is better to add warning about object injection to documentation.
If a closure is injected, attacker can execute arbitrary code. It is very dangerous.
See https://www.owasp.org/index.php/P…
-
Issue 697 for slim v2 gave an option for case insensitive routes.
could we have this for v3?
this could be via the settings array with
$request->getUri()->withPath(strtolower($request->getUri()->getP…
-
Hi,
When setting a relative path using `withPath` method when no basePath is present (i.e. just '/'), the generated URI contains double slashes.
example:
``` php
$environment = \Slim\Http\Environ…
-
As mentioned in [here](http://www.slimframework.com/docs/objects/request.html#fetch-single-header):
> ### Fetch Single Header
>
> You can fetch a single header’s value(s) with the Request object’s `…
-
For each mapped route using a "string controller", Slim create a new instance of `CallableResolver`.
``` php
$app->map(['GET'], '/hello', '\Controller\Class:function');
```
Isn't it more performance…
-
When I use _$request->getParsedBody()_ everything works fine, but when I use _$request->getBody()_ it returns just empty stream. According to geggleto it looks like the stream gets detached at some po…
-
after latest changes
-
According to http://php.net/manual/en/errorfunc.constants.php
E_WARNING should not halt script execution
To reproduce :
$app->get('/hello/:name', function ($name) {
trigger_error('E_USER_WARNING…