-
Download the Bundle
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
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.
-
Enable the Bundle only in the test environment
Update the relevant line in the
config/bundles.php
file to enable this bundle only for thetest
environment:return [ - Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['dev' => true, 'test' => true], + Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['test' => true], ];