chrisbrosnan/biblephp

PHP wrapper for the Free Use Bible API

Maintainers

Package info

github.com/chrisbrosnan/biblephp

pkg:composer/chrisbrosnan/biblephp

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-06-24 10:48 UTC

This package is auto-updated.

Last update: 2026-06-24 14:49:30 UTC


README

Latest Stable Version Total Downloads

Laravel/PHP wrapper for the Free Use Bible API to easily access it within your PHP application.

Installation

composer require chrisbrosnan/biblephp

Usage

use ChrisBrosnan\BiblePhp\BibleClient;

Available Methods

  • getAvailableTranslations()
  • getBooks()
  • getChapter()
  • getCommentaries()
  • getCommentaryChapter()
  • getCommentaryProfiles()
  • getDatasets()
  • getBooksInDataset()
  • getChapterInDataset()
  • getVerse()
  • renderVerseContent()
  • renderChapterContent()

Example of use for each method

$translations = BibleClient::getAvailableTranslations();

// Params: translation
$books = BibleClient::getBooks('eng_kja'); 

$commentaries = BibleClient::getCommentaries();

// Params: commentary, book, chapter
$commentary_chapter = BibleClient::getCommentaryChapter('adam-clarke', 'GEN', 1);

// Params: commentary
$commentary_profiles = BibleClient::getCommentaryProfiles('adam-clarke');

$datasets = BibleClient::getDatasets();

// Params: dataset
$books_in_dataset = BibleClient::getBooksInDataset('open-cross-ref');

// Params: dataset, book, chapter
$chapter_in_dataset = BibleClient::getChapterInDataset('open-cross-ref', 'GEN' 1);

// Params: translation, book, chapter
$chapter = BibleClient::getChapter('kjv', 'LEV', 3);

// Params: translation, book, chapter, verse
$verse = BibleClient::getVerse('eng_kjv', 'GEN', 1, 1);

// Params: chapter
$chapter_content = BibleClient::renderChapterContent($chapter);

// Params: verse
$verse_render = BibleClient::renderVerseContent($verse);

API Documentation

This package is a PHP wrapper for the Free Use Bible API. This API is completely free and open to use, and the documentation can give a good overview for how to access it either using this wrapper or otherwise.

License

License