database/factories/UserFactory.php
/**
     * Define the model's default state.
     *
     * @return array
     */
Define the model's default state.
@return array
Define the model ' s default state . @return array
public function definition()
    {
        return [
            'first_name' => $this->faker->firstName(),
            'last_name' => $this->faker->lastName(),
            'email' => $this->faker->unique()->safeEmail(),
            'email_verified_at' => now(),
            'country' => $this->faker->country(),
            'city' => $this->faker->city(),
            'province' => $this->faker->word(),
            'address' => $this->faker->address(),
            'zipcode' => $this->faker->numberBetween(00000, 10000),
            'phone' => $this->faker->phoneNumber(),
            'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 
            'remember_token' => Str::random(10),
        ];
    }
public function definition ( ) { return [ 'first_name' => $ this -> faker -> firstName ( ) , 'last_name' => $ this -> faker -> lastName ( ) , 'email' => $ this -> faker -> unique ( ) -> safeEmail ( ) , 'email_verified_at' => now ( ) , 'country' => $ this -> faker -> country ( ) , 'city' => $ this -> faker -> city ( ) , 'province' => $ this -> faker -> word ( ) , 'address' => $ this -> faker -> address ( ) , 'zipcode' => $ this -> faker -> numberBetween ( 00000 , 10000 ) , 'phone' => $ this -> faker -> phoneNumber ( ) , 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi' , 'remember_token' => Str :: random ( 10 ) , ] ; }
Define the model's default state.
Define the model ' s default state .
// password