定制 chrisbrosnan/biblephp 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

chrisbrosnan/biblephp

Composer 安装命令:

composer require chrisbrosnan/biblephp

包简介

PHP wrapper for the Free Use Bible API

README 文档

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

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-24