Is there any way to export my existing database rows as doctrine fixtures?
You can use the DoctrineFixturesGeneratorBundle in order to export the data from database as fixtures:
php bin/console doctrine:generate:fixture --entity=Blog:BlogPost \
--ids="12 534 124" --name="bug43" --order="1"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With