'Envay', 'last_name' => 'Soft', 'email' => 'envaysoft@gmail.com', 'password' => bcrypt(123456), ]); $activation = Activation::create($envaySoft); Activation::complete($envaySoft, $activation->code); $adminRole->users()->attach($envaySoft); } }