Revision #18 was created by rackycz on Oct 9, 2025, 8:00:21 AM.
edit
Content
[...]
## Seeding the database
Seeding = inserting fake data.
You can technically create a migration or a command and insert random data manually. But you can also use the Faker. In that case I needed following dependencies:
- composer require fakerphp/faker
- composer require yiisoft/security (not only for generating random strings)
Now find the class `HelloCommand.php`, copy and rename it to `SeedCommand.php`