PHP code example of diegograssato / doctrine-data-fixture-module

1. Go to this page and download the library: Download diegograssato/doctrine-data-fixture-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

diegograssato / doctrine-data-fixture-module example snippets



 'orm_fixtures' => [
     __DIR__.'/../MyModule/src/MyModule/Fixtures',
  ]
  

'orm_fixtures' => [
    'groups' => [
        'default' => [
            __DIR__.'/../MyModule/src/MyModule/Fixtures/default',
        ],
        'production' => [
             __DIR__.'/../MyModule/src/MyModule/Fixtures/production',
        ]
    ]
]
sh
$ php composer.phar