Creating A User

Create a user programatically:

$User = User::create([
            'name' => '',
            'email' => '',
            'password' =>'', // hash on the fly
            'permissions' => [],
            'active' => null,
            'activation_key' => (Uuid::uuid4())->toString(),
name string the full name of the user
email string The unique email of the user
password string The password of the user. This is automatically hashed on the fly so no need to hash it here.
active string|Carbon The timestamp when user was activated. Can also be use to know if user's account has been activated.
activation_key string The random string use for activation.