diff --git a/security/entity_provider.rst b/security/entity_provider.rst index 78e91d21ee2..f6fd17e1c64 100644 --- a/security/entity_provider.rst +++ b/security/entity_provider.rst @@ -36,6 +36,12 @@ and :ref:`user serialization to the session ` 1) Create your User Entity -------------------------- +Before you begin, first make sure you install the Security component: + +.. code-block:: terminal + + $ composer require security + For this entry, suppose that you already have a ``User`` entity inside an ``AppBundle`` with the following fields: ``id``, ``username``, ``password``, ``email`` and ``isActive``::