-
I was working with Slim 2.8.2 and noticed that trying to set a 419 response
`$slim->response->setBody(419);`
would return a 200 to the client (in this case cURL via CLI).
Looking at the latest set …
-
$ sudo npm install -g generator-slimphp
/Users/User/.nvm/versions/node/v5.2.0/lib
└── generator-slimphp@0.1.8
$ yo slimphp
Error slimphp
You don't seem to have a generator with the name slimphp in…
-
Hi there,
How can I dynamically assign setPattern in Slim 3.x?
-
I send POST request from jQuery via XMLHttpRequest. In case of empty request body there is no Content-Type header. In such case Request::getMediaType returns null and Request::getParsedBody returns fa…
-
Hello,
I was wondering why the render method has a ResponseInterfaceparameter.
Wouldn't it be better to write to the body inside the route-matching middleware:
``` php
$response->getBody()->write(…
-
Seems to be an internal error:
Output:
```
PHP Fatal error: Uncaught TypeError: Argument 1 passed to BetterReflection\Reflection\ReflectionClass::BetterReflection\Reflection\{closure}() must be an …
-
http://www.slimframework.com/
-
In https://github.com/slimphp/Slim/blob/3.x/Slim/Http/UploadedFile.php#L143
It does not exist as a protected member.
-
The problem is that Slim PHP 3 `$request->getHeaders()` function is not returning Authorization header parameter while the default `getallheaders()` PHP function is working correctly. When I use this …
-
I guys, i've came accros difficulty with routing.
Here some code that works for me :
``` .php
/**
* @var Slim\App $app
*/
$this->get('/{slug:[a-zA-Z0-9_-]+}/agencies[/dpts/{dpts:\d+}]', function …