diff --git a/docs/book/application-integration/usage-in-a-laminas-mvc-application.md b/docs/book/application-integration/usage-in-a-laminas-mvc-application.md index 22e00fdb..d9140b89 100644 --- a/docs/book/application-integration/usage-in-a-laminas-mvc-application.md +++ b/docs/book/application-integration/usage-in-a-laminas-mvc-application.md @@ -46,7 +46,7 @@ return [ > The configuration for the session itself is optional, but the > [factory `Laminas\Session\Config\SessionConfig`](../config.md#service-manager-factory), > which is registered for configuration data, expects an array under the key -> `session_config`. +> `session_config`. > > A minimum configuration is: > @@ -79,10 +79,11 @@ class AlbumController extends AbstractActionController ``` To [register the controller](https://docs.laminas.dev/laminas-mvc/quick-start/#create-a-route) -for the application, extend the configuration of the module. +for the application, extend the configuration of the module. Add the following lines to the module configuration file, e.g. `module/Album/config/module.config.php`: +

 namespace Album;
 
@@ -128,4 +129,3 @@ public function addAction()
     ];
 }
 ```
-
diff --git a/docs/book/validator.md b/docs/book/validator.md
index c461cc88..c0e389ff 100644
--- a/docs/book/validator.md
+++ b/docs/book/validator.md
@@ -27,6 +27,14 @@ against the originally stored `$_SERVER['REMOTE_ADDR']` variable. Validation
 will fail in the event that this does not match and throws an exception in
 `Laminas\Session\SessionManager` after `session_start()` has been called.
 
+> ### Installation Requirements
+>
+> The validation of the IP address depends on the [laminas-http](https://docs.laminas.dev/laminas-http/) component, so be sure to have it installed before getting started:
+>
+> ```bash
+> $ composer require laminas/laminas-http
+> ```
+
 ### Basic Usage
 
 ```php