jnplonte/biblia

Biblia.com API Integration on laravel

dev-master 2015-11-09 09:53 UTC

This package is not auto-updated.

Last update: 2024-12-25 19:38:03 UTC


README

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();