-
I've been looking at the resolution of a callable string of type 'class:method' which is in the Route class at https://github.com/slimphp/Slim/blob/develop/Slim/Route.php#L101-L118.
It would be nice …
-
We ran into this scenario on our last major Slim 2 project:
The site used authentication for user accounts and such, but much of the content was viewable whether or not you were logged-in. Authentica…
-
First I am sorry if this topic has already been discussed, I did a search but couldn't find something about it.
In Slim 3 it seems that controllers are supposed to be middlewares, i.e. have the follo…
-
After Slim switch to use FastRoute, the option `routes.case_sensitive` become meaningless even its value is true.
So now `/Tests/` and `/tests/` are difference :D
ghost updated
9 years ago
-
For now you need to add ...
```
"minimum-stability": "dev"
```
To your composer.json for slim to install
[Edit] or add
```
"nikic/fast-route": "dev-master"
```
to your main composer.json
-
Slim doesn't support optional parameters as the underlying routing engine doesn't support them.
We need:
- Ability to specify optional parameters in the route path
- Ability to generate urls via `url…
-
https://github.com/slimphp/Slim/blob/master/Slim/Middleware/SessionCookie.php#L127
Generally, it's a bad idea to blindly `unserialize()` user-controllable input.
https://www.owasp.org/index.php/PHP_…
-
Currently Slim 3.0 allows specifying a Pimple key when defining route callbacks, in the form: `key.callback`, as per [this line](https://github.com/slimphp/Slim/blob/develop/Slim/ResolveCallable.php#L…
-
I don't know if anyone has brought this up before, or if I'm missing something fundamental about how middleware operates, has anyone considered before and after scenarios?
What I mean is middleware t…
-
HI,
Would it be quicker and more efficient to use `SplStack` as the `$stack` instance instead of calling `array_unshift` for every appended middleware?
``` php
protected $stack;
protected function …