This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ $ cd expressive
1616## 2. Install Expressive
1717
1818If you haven't already, [ install Composer] ( https://getcomposer.org ) . Once you
19- have, we can install Expressive:
19+ have, we can install Expressive, along with a router and a container :
2020
2121``` bash
22- $ composer require zendframework/zend-expressive aura/router
22+ $ composer require zendframework/zend-expressive aura/router zendframework/zend-servicemanager
2323```
2424
2525> ### Routers
@@ -28,6 +28,14 @@ $ composer require zendframework/zend-expressive aura/router
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
3341You'll need a directory from which to serve your application, and for security
You can’t perform that action at this time.
0 commit comments