Slim-Http
Slim-Http copied to clipboard
A set of PSR-7 object decorators providing useful convenience methods
Requesting the addition of a charset with the withJson response. This PR sets it to uff-8; maybe a parameter with a default value would be preferable.
Hello, Is it possible to disable automatic request parsing? At least in version 3 it parses like this: > JSON requests are converted into associative arrays with json_decode($input, true). >...
Unfortunately I have not found a documentation nor any best-practices on how to use this library with slim 4. The [README](https://github.com/slimphp/Slim-Http/blob/master/README.md) explains the instantiation process only. In a test installation...
I've noticed that in [the decorated ServerRequest](https://github.com/slimphp/Slim-Http/blob/master/src/ServerRequest.php#L184), when calling `getParsedBody`, the original body is pulled via `(string)$request->getBody()`, but the StreamInterface is not `rewind`-ed after the fact. In my tests, this...
Hi, I have a middleware which parses the `lang` query parameter and set's the language in the container. Afterwards it removes the `lang` parameter from the query array and gives...
Hello, I wanted to use `Uri::getBaseUrl` from the decorated UriInterface but it is not defined. When I use `$request->getUri()`, the returned object is an instance of `Slim/Psr7/Uri`, I think it...
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.17 to 9.6.19. Release notes Sourced from phpunit/phpunit's releases. PHPUnit 9.6.19 Changed The namespaces of dependencies are now prefixed with PHPUnitPHAR instead of just PHPUnit for the...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.59 to 1.10.67. Release notes Sourced from phpstan/phpstan's releases. 1.10.67 This is the last release, or one of the last releases, in 1.10.x series. The next one...
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.9.0 to 3.9.2. Release notes Sourced from squizlabs/php_codesniffer's releases. 3.9.2 - 2024-04-24 Changed The Generic.ControlStructures.DisallowYodaConditions sniff no longer listens for the null coalesce operator. #458 Thanks to...