Download the PHP package djunehor/laravel-bible without Composer
On this page you can find all versions of the php package djunehor/laravel-bible. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download djunehor/laravel-bible
More information about djunehor/laravel-bible
Files in djunehor/laravel-bible
Download djunehor/laravel-bible
More information about djunehor/laravel-bible
Files in djunehor/laravel-bible
Vendor djunehor
Package laravel-bible
Short Description Laravel package to fetch from the Holy Bible
License MIT
Package laravel-bible
Short Description Laravel package to fetch from the Holy Bible
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-bible
Laravel Bible
Laravel Bible helps you fetch from the Holy Bible
- Laravel Bible
- Installation
- Laravel 5.5 and above
- Laravel 5.4 and older
- Lumen
- Usage
- Currently Supported Languages and Versions
- Add New Language and/or Bible Version
- Contributing
- Acknowledgement
- Installation
Installation
You can install the package via composer:
Laravel 5.5 and above
The package will automatically register itself, so you can start using it immediately.
Laravel 5.4 and older
In Laravel version 5.4 and older, you have to add the service provider in config/app.php
file manually:
Lumen
After installing the package, you will have to register it in bootstrap/app.php
file manually:
Usage
Get the Book of John
Get All Verses in Matthew Chapter 3
Get the Book of Mark, Chapter 3, Verse 12
Using shortcut
Options
Using Facade
In order to use the Bible facade:
- First add
'Bible' => Djunehor\Logos\Facades\BibleFacade::class,
to aliases inconfig/app.php
- Then use like
Bible::get('John 3:16');
Using Helper
The package ships with a bible()
method
Dynamically setting language and/or version
Currently Supported Languages and Versions
Language | Code | Versions |
---|---|---|
English | en | kjv |
Add new language and bible version
Simply follow the structure of the bibles/en
folder
Contributing
- Fork this project
- Clone to your repo
- Make your changes and run tests
composer test
- Push and create a pull request
Acknowledgement
- The KJV English bible JSON file was sourced from here
All versions of laravel-bible with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0|>=7.2
The package djunehor/laravel-bible contains the following files
Loading the files please wait ....