Question : doctrine fixture bundle
Answered by : mastou
// Symfony 4
composer require --dev orm-fixtures
Source : https://symfony.com/doc/master/bundles/DoctrineFixturesBundle/index.html | Last Update : Thu, 30 Apr 20
Question : doctrine fixture bundle
Answered by : mastou
// Symfony 3
composer require --dev doctrine/doctrine-fixtures-bundle
//then register the bundle in app/AppKernel.php
// registerBundles()
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { // ... $bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle();
}
Source : https://symfony.com/doc/master/bundles/DoctrineFixturesBundle/index.html | Last Update : Thu, 30 Apr 20
Question : doctrine fixture bundle
Answered by : mastou
// Symfony 3
composer require --dev doctrine/doctrine-fixtures-bundle
Source : https://symfony.com/doc/master/bundles/DoctrineFixturesBundle/index.html | Last Update : Thu, 30 Apr 20