Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 0a7ed80

Browse files
committed
Added paragraph on containers
- since we're installing one...
1 parent bc2fd5c commit 0a7ed80

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/book/quick-start.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ $ composer require zendframework/zend-expressive aura/router zendframework/zend-
2828
> middleware. We suggest Aura.Router in the quick start, but you can also
2929
> currently choose from FastRoute and the ZF2 MVC router.
3030
31+
> ### Containers
32+
>
33+
> We highly recommend using dependency injection containers with Expressive;
34+
> they allow you to define dependencies for your middleware, as well as to lazy
35+
> load your middleware only when it needs to be executed. We suggest
36+
> zend-servicemanager in the quick start, but you can also use any container
37+
> supporting [container-interop](https://github.com/container-interop/container-interop).
38+
3139
## 3. Create a web root directory
3240

3341
You'll need a directory from which to serve your application, and for security

0 commit comments

Comments
 (0)