-
Hey guys.
I was halfway through forking the website to add documentation for `\Slim\App` construction when I found that the options I was documenting were already laid out in [the dependency containe…
-
We have some severe issues with multiple uploaded files. Can anyone confirm this?
HTML:
```
```
$_FILES:
```
Array
(
[image] => Array
(
[name] => Array
(
…
-
Slim3 appears (according to the composer.json) to only support PHP 5.5 upwards - which means the "callable" type hint/declaration ( http://php.net/manual/en/functions.arguments.php#functions.arguments…
-
Hello,
I am trying to return a Guzzle stream:
``` php
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', $video->url, array('stream'=>true));
return $response->withHeader('Conte…
-
https://github.com/slimphp/Slim/blob/3.x/Slim%2FInterfaces%2FHttp%2FEnvironmentInterface.php#L19
Is this method only for testing, and If so, would an extended interface in tests make more sense?
-
The default value of output_buffering in php.ini-production is 4096
If this option is set, the output of Slim application gets corrupted.
'settings' => ['outputBuffering' => false] does not affect out…
-
```
public function withJson($data, $status = 200, $encodingOptions = 0)
{
$body = $this->getBody();
$body->rewind();
$body->write(json_encode($data, $encodingOptions));
return $this-…
-
One pain point for me in Slim 2.x was how to do input validation and sanitization. Retrieving values from the request object's `->get()` and `->post()` always return raw, unfiltered data. To turn it i…
-
Given the test XML:
``` xml
JoshHEAD
```
I would expect Slim's method override (in Slim\Http\Request) to change the request type from the original to "HEAD". However, passing that string in as the r…
-
Using the following (not pretty I know)
``` php