Get started with Symfony 6 for beginners — Part 3.1| Database, Doctrine, Entity.

Azay Karimli
2 min readSep 11, 2022

This article will demonstrate how to populate a database with fake data (fake blog information). For this Open up a terminal window and run the following command:

$ composer require --dev orm-fixtures

This command will install the extra library and will create a file App\DataFixtures\AppFixtures

Open that file — src/DataFixtures/AppFixtures.php and let's create a few blog posts.