1. Go to this page and download the library: Download djunehor/laravel-bible 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/ */
// get Genesis 22:6
$verse = $bible->get('Genesis 22:6');
// Bible Class accepts 2 parameters: $lang and $version
$lang = 'en';
$bible = new Bible('en'); // use English version
$bible = new Bible('en', 'kjv'); // use English KJV bible
bible('John 3:16');
$bible = new Bible(); // lang is set to "en", and version is set to "kjv" by default;
$bible->lang('yo'); // Set language as Yoruba
$bible->version('amp'); // Set version to Amplified Version
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.