Slim-Bridge icon indicating copy to clipboard operation
Slim-Bridge copied to clipboard

PHP-DI integration with the Slim framework

Results 4 Slim-Bridge issues
Sort by recently updated
recently updated
newest added

Slim v4 supports dependency injection using a container via `AppFactory::setContainer($container)`. [See documentation](https://www.slimframework.com/docs/v4/concepts/di.html). This project can be archived and the [PHP-DI documentation for Slim](https://php-di.org/doc/frameworks/slim.html) can be updated to match the Slim...

Hi! I'd like to use php-di to inject route parameters. In my case these are always of type `int`. Using this function signature ... ```php $app->delete("/objects/{objectId}", [MyController::class, 'deleteObject']); // Please...

enhancement

This PR https://github.com/PHP-DI/Slim-Bridge/pull/84 is causing the request attributes to be overriden. As stated in the [Slim official documentation](https://www.slimframework.com/docs/v4/objects/request.html#attributes): > With PSR-7 it is possible to inject objects/values into the request...

I'm looking to modify the ControllerInvoker to allow the route to return a different response which can be converted to a ResponseInterface at a later stage. Specifically I'm looking to...