1. Go to this page and download the library: Download imjoehaines/flowder 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/ */
imjoehaines / flowder example snippets
$db = new PDO('sqlite::memory:');
$flowder = new Imjoehaines\Flowder\Flowder(
new Imjoehaines\Flowder\Loader\PhpFileLoader(),
new Imjoehaines\Flowder\Truncator\SqliteTruncator($db),
new Imjoehaines\Flowder\Persister\SqlitePersister($db)
);
$flowder->loadFixtures('test_data.php');