Faker for Bibles and Verses for use in PHP Tests.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE.md
composer.json
readme.md

readme.md

Bible Faker

A simple package I created so we can test different bible versions when creating factories for testing.

Installation

composer require bibliospot/biblefaker

Usage

If you're going to use this in a Laravel factory, your factory file would look similar to this:

<?php

use BiblioSpot\BibleFaker\Bible;
use Faker\Generator as Faker;

$factory->define(App\User::class, function (Faker $faker) {
	$bible = new Bible();
	$bible = $bible->bible();

    return [
        ...
        'bible' => $bible,
        ...
    ];
});