2017 © Pedro Peláez
 

library bible-gateway

Unofficial Bible Gateway PHP API

image

benjamindoe/bible-gateway

Unofficial Bible Gateway PHP API

  • Tuesday, January 16, 2018
  • by benjamindoe
  • Repository
  • 2 Watchers
  • 2 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Bible Gateway Unofficial API

Unofficial Bible Gateway PHP API, (*1)

Install

via composer

composer require benjamindoe/bible-gateway, (*2)

using just the class file

Copy the src/BibleGateway.class.php into your project and include it., (*3)

Example Usage

$bible = new BibleGateway('NIV') // Version optional. Default is ESV

$bible->reference = 'John 3:16' // Starts the search

echo $bible->text // Echos the verse text

The above will output, (*4)



16 For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life. , (*5)

The API uses the same classes that the Bible Gateway website uses, (*6)

<span class="chapternum"></span> // Chapter number
<sup class="versenum"></sup> // Verse number
<span class="woj"></span> // Word of Jesus, can be used for red text

The Versions

16/01 2018

dev-master

9999999-dev https://github.com/benjamindoe/BibleGateway

Unofficial Bible Gateway PHP API

  Sources   Download

MIT

The Requires

  • php ^5.4 || ^7.0

 

api bible biblegateway