1. Go to this page and download the library: Download zachleigh/fake-better 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/ */
zachleigh / fake-better example snippets
composer
use Faker\Generator;
use FakeBetter\Providers\Copy;
$faker = new Generator();
$copyProvider = new Copy($faker);
$copyProvider->setCopyPath('path/to/copy/directory');
$faker->addProvider($copyProvider);