Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.02 KB

installation.md

File metadata and controls

31 lines (22 loc) · 1.02 KB

Installation

  1. 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.

  2. Enable the Bundle only in the test environment

    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],
     ];

Configuration »