-
i have a method that returns date from oracle database.
like `return $this->sailpnos{'date_of_joining'}`
how can the returned date instantiate a Carbon object so that i can use
`return $this->sailpno…
-
Why Slim needs to call all Routes->finalize() via \Slim\Router->finalize()?
I tried to look for a reason but I did not find.
My question is because I'm trying to work around this issue:
https://githu…
-
How to use multiple paths per namespace?
ghost updated
8 years ago
-
With [New Relic](https://docs.newrelic.com/docs/agents/php-agent/getting-started/new-relic-php), or I would imagine any other daemon/agent that modifies the request the web server sends after it recei…
-
Just like https://github.com/slimphp/Slim/pull/610
XXE attack also affects slim framework 3.x,
While my application accept post data, attacker can read arbitrary file or lead to other system impacts.…
-
-
how i can setup and use active record with slim3 ?
-
Just glancing at the code shows that in Slim\App->finalize it receives a ResponseInterface an then calls "$this->isEmptyResponse" to filter out the body/content-type and content-length. However, Slim\…
-
```
$this->registerMediaTypeParser('application/json', function ($input) {
return json_decode($input, true);
});
```
```
$acceptHeaders = [];
if (count($request->getHeader('ACCEPT')) > 0) {
f…
-
So I've been testing some code and I've noticed my middleware is being called out of order for example:
```
$app->any('/page', $controllers->make('class@method'))
->add($injector->make(SomeMiddle…