jnplonte / biblia by jnplonte

Biblia.com API Integration on laravel
5
1
2
Package Data
Maintainer Username: jnplonte
Maintainer Contact: jnpl.onte@gmail.com (jnplonte)
Package Create Date: 2015-11-09
Package Last Update: 2015-11-09
Language: PHP
License: MIT
Last Refreshed: 2024-12-23 03:20:47
Package Statistics
Total Downloads: 5
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

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