-
Should rewind completely replace the response body?
I'm using withJSON and is seems that instead of replacing the body it's overwriting, and presume fopen uses r+ instead of w+.
```
return $response…
-
```
$app->add(function ($req, $res, $next) {
$nameKey = $this->csrf->getTokenNameKey();
$valueKey = $this->csrf->getTokenValueKey();
$this->view['csrf_key_name'] = $nameKey;
$th…
-
I've looked a little at code and I don't see any usage of [htmlspecialchars()](http://php.net/manual/en/function.htmlspecialchars.php) nor regexps for escaping HTML/JS - does it mean, that every user …
-
As far as I can tell, there is no (clean) way to insert a path to a named route, or am I missing something? I have create a workaround which I am happy to contribute, but since I only started using th…
-
Can you tell, and if I could change the controller or method used by default when you go middleware?
Example:
``` php
$app->get('/articles/{page}', "DefaultControler:indexAction")->add(new Controller…
-
Hi!
I'm the maintainer of the [Lumy framework](https://github.com/pyrsmk/Lumy). For its future, I've decided to drop all the code and replace it by Slim. But since I want to use the [Chernozem contai…
-
Any intentions regarding upgrading Mini2 to Slim 3 compatibility when it's released? :-)
-
I see the slimphp/slim repository has a `.gitattributes` file that excludes tests from the composer download when `--prefer-dist` is provided. Can you maybe add this file to this repository, too? And …
-
I'm trying a simple get, everything works fine, but when I use Sense to run a PUT to update the document, if I try to retrieve the document via php I get an empty response.
Is like it's not synced co…
-
Should we add `tests` directory and an example for test
```
class \ExampleTest extends \PHPUnit_Framework_TestCase
{
public function testBasicExample()
{
$this->markTestSkipped('This …