splitant / php-bible-api
API to request bible data from JSON resources.
0.1.0
2021-01-28 16:02 UTC
Requires (Dev)
- phpunit/phpunit: ^4.8
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