splitant/php-bible-api

API to request bible data from JSON resources.

0.1.0 2021-01-28 16:02 UTC

This package is auto-updated.

Last update: 2024-09-29 00:37:10 UTC


README

Php library to provide a bible API.

Methods

  • getBibleVersions(): Get available Bible versions.
  • getBibleBooks(): Get the Bible book list (Genesis, Exodus, Leviticus...)
  • getVersesFromBook($version, $book): Get all verses Bible book.
  • getVerse($version, $book, $chapter, $num_verse): Get a specific verse.

How it works

  • Provide Bible data (books name's, versions name's, verses) from JSON collection files.
  • Caching process: Store verses result in a global php array