Yii3 - How to start

Comparing #19 with #20

Revision #20 was created by rackycz rackycz on Oct 9, 2025, 9:53:36 AM.

edit

Content

[...]
for ($i = 0; $i < 10; $i++) {
$this->db->createCommand()
->insert('user', [
'name' => $faker->firstName(),
'surname' => $faker->lastName(),
                    'username' => $faker->userName(),
 
'email' => $faker->email(),
'auth_key' => Random::string(32),
])
->execute();
}
[...]