PHP code example of kupishkis / doctrine-fixtures-module

1. Go to this page and download the library: Download kupishkis/doctrine-fixtures-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/ */

    

kupishkis / doctrine-fixtures-module example snippets

 php
array(
    'doctrinefixtures' => array(
        'paths' => array(
            'MyModule' => __DIR__ . '/../src/MyModule/DataFixtures/ORM'
        )
    )
)