jnplonte/biblia

Biblia.com API Integration on laravel
5 1
Install
composer require jnplonte/biblia
PHP:>=5.5.9
License:MIT
Last Updated:Nov 9, 2015
Links: GitHub  ·  Packagist
Maintainer: jnplonte

Laravel 5 Biblia

Installation

The Laravel 5 Biblia Service Provider can be installed via Composer by requiring the jnplonte/biblia package in your project's composer.json.

{
    "require": {
        "jnplonte/biblia": "1.0.*"
    }
}

Configuration

To use the Biblia Service Provider, you must register the provider when bootstrapping your Laravel application.

Find the providers key in your config/app.php and register the Service Provider.

    'providers' => [
        // ...
        jnplonte\Biblia\BibliaServiceProvider::class,
    ],

Find the aliases key in your config/app.php and register the Facade.

    'aliases' => [
        // ...
        'Biblia'    => jnplonte\Biblia\Facades\BibliaFacade::class,
    ],

Usage

Run php artisan vendor:publish to publish the default config file, edit caching setting withing the resulting config/biblia.php file as desired.

$bibliaS = Biblia::getVerse();