diff --git a/components/security.rst b/components/security.rst index ee6c1580472..9985b611c63 100644 --- a/components/security.rst +++ b/components/security.rst @@ -14,12 +14,6 @@ The Security Component Installation ------------ -.. code-block:: terminal - - $ composer require symfony/security - -.. include:: /components/require_autoload.rst.inc - The Security component is divided into several smaller sub-components which can be used separately: @@ -38,6 +32,17 @@ be used separately: It brings many layers of authentication together, allowing the creation of complex authentication systems. +You can install each of them separately in your project: + +.. code-block:: terminal + + $ composer require symfony/security-core + $ composer require symfony/security-http + $ composer require symfony/security-csrf + $ composer require symfony/security-guard + +.. include:: /components/require_autoload.rst.inc + .. seealso:: This article explains how to use the Security features as an independent