chrisbrosnan/biblephp
Composer 安装命令:
composer require chrisbrosnan/biblephp
包简介
PHP wrapper for the Free Use Bible API
README 文档
README
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
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-24