php bin/console make:user

Creates a new security user class

Usage

make:user [--is-entity] [--identity-property-name IDENTITY-PROPERTY-NAME] [--with-password] [--use-argon2] [--] [<name>]

Arguments

name   The name of the security user class (e.g. <fg=yellow>User</>) 

Options

      --is-entity                Do you want to store user data in the database (via Doctrine)? 
      --identity-property-name   Enter a property name that will be the unique "display" name for the user (e.g. <comment>email, username, uuid</comment>) 
      --with-password            Will this app be responsible for checking the password? Choose <comment>No</comment> if the password is actually checked by some other system (e.g. a single sign-on server) 
      --use-argon2               Use the Argon2i password encoder? (deprecated) 

Help

The make:user command generates a new user class for security
and updates your security.yaml file for it. It will also generate a user provider
class if your situation needs a custom class.

php bin/console make:user User

If the argument is missing, the command will ask for the class name interactively.