1. Go to this page and download the library: Download rootxs/sudobible 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/ */
$aPassages = $oBible->topic('church'); // returns an array of all related passages
$oPassage = $oBible->topic('church', true); // returns a single, random related passage
echo $oBible->verse('John', 3, 16);
$oPassage = $oBible->ref('John', 3, 16, 17)
->numberVerses() // adds verse numbers to the passage string
->useHTML(); // adds some HTML styling to the passage string
echo $oPassage;