Adding fixtures to the DB using Symfony2 and Doctrine

So I have a DB being created automatically for me using Symfony and Doctrine. Now I want to add some initial data so that I can actually develop some code to use the DB.

We do this by using the doctrine-fixtures-bundle to create classes that will load some data into our tables.

Continue reading “Adding fixtures to the DB using Symfony2 and Doctrine”

Advertisement