-
I installed the library with composer.
Please show an example of how to configure it to work with slim 3
-
Hi! In slim 3 there was a method to get the base url of the uri. What is the right way to get the same with slim 4? Not basePath, but like this one: https://github.com/slimphp/Slim/blob/200c6143f15baa…
-
I'm using middleware `\Slim\Middleware\SessionCookie` to work with sessions, but the values are not persisting in different requests.
I created a small test to simulate the problem:
File 1:
```
req…
fredw updated
2 years ago
-
On some routes, I rethrow exceptions to achieve a better user experience. When using the standard Slim 4 error middleware, the thrown ErrorException will by default generate a 500 response. When the E…
-
**Describe the bug**
In my OJS test environment I use password protect via Apache "Basic Authorization" (AuthType Basic).
But after upgrading from 3.3.0-8 to 3.3.0-9 (or 3.3.0-10) there are working …
-
In the readme it is stated that "The prefix value enables a SlimPHP Application", but in https://github.com/b13/slimphp-bridge/blob/3147852ed50c855269ba639bbfe3569fa91cff92/src/Middleware/SlimInitiato…
-
Hey Andrii (@pasichDev),
Might as well say this now, in these early stages, than say it later when you've invested too much time in this architecture.
With a router(/dispatcher), a semblance of …
-
https://github.com/slimphp/Slim-Psr7/blob/5dbd98f5a0194db8aeee4da3441e56a1d816360b/src/Factory/UriFactory.php#L69
createFromGlobals takes the PHP_AUTH_USER,PHP_AUTH_PWD as-is without rencoding them.
…
-
I have this code:
```
$app->get('/', function (Request $request, Response $response, $args) use($database){
$response->withJson([]);
return $response->withHeader('Content-Type', 'appli…
-
Hi Slim Developers,
Since I upgraded to 4.10.0, my redirects had status code 200. This broke my site with blank pages everywhere but luckily I caught it testing on the staging server.
```
- U…