Search code examples
symfonylaravel-5seeding

Equivalent of Laravel Seeders on Symfony?


I'm developing a web site with Symfony. I'm new on this framework. Before i used Laravel 5.0 and I need to have a database with rows.

I create my db with command prompt but now I don't find how to seed it.

There is a equivalent of Laravel seeders on Symfony?


Solution

  • No. Seeding was a feature added by Laravel. You’ll need to use a third-party package to load seeds/fixtures into your application: http://www.sitepoint.com/data-fixtures-symfony2/