-
As Slim 3.0 becomes RC I thing it will good to have migration from "Slim 2 guide" article.
I`ve tried to run my slim 2 api roject in 3.0 and its fails to run.
Possible scope:
1. Basic initialization.
…
-
After running through a couple different issues setting this up I found out that with the latest version of Slim, I had to use "\Slim\Slim::registerAutoloader();" after the require statement.
Also, w…
-
I see a lot of TypeHinting PSR-7 interface but usage of Slim Add-On methods.
Using the PSR-7 Type-Hint's seem wrong since we are requiring methods that only exist on the Slim\Http versions.
Thoughts…
-
See here for more information: https://github.com/slimphp/Slim/issues/1508
If anyone forsees this being a problem, i recommend that we possibly find some way to mitigate this. I'm thinking that if …
-
Hi, how can I access route's args in my middleware?
Here's how I am adding the middleware:
```
$route->add(function ($request, $response, $next) use ($mw) {
return $mw->middlewareFunc($request, $…
-
I've found that the response object creates the body by default from a tempfile, this means that for each request a tmpfile is created causing i/o.
wouldn't it be better to use:
```
$this->body = $b…
-
Hi,
during the migration from slim2 to 3, I've found that it would help a lot having
```
public function __get($name)
{
return $this->container->get($name);
}
```
within \Slim\A…
-
Hi,
maybe i m missing something, I was expecting to install slim3, i got slim 2 after i run the composer generator.
-
Here I have setup my [`routes.php`](https://github.com/projek-xyz/slim-skeleton/blob/develop/app/routers.php)
``` php
$app->get('/[{name}]', 'App\Actions\HomeAction:index')->setName('home-page');
```…
-
I am using `siteUrl` in Smarty templates on an HTTPS website and it generates HTTP URLs. It should generate HTTPS URLs.