Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
composer require --dev liip/test-fixtures-bundle:^2.0.0
Tip
If you use Symfony 3.4, see the documentation for 1.x.
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Update the relevant line in the config/bundles.php
file to enable this bundle only
for the test
environment:
return [
- Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['dev' => true, 'test' => true],
+ Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['test' => true],
];