Wallogit.com
2017 © Pedro Peláez
Biblia.com API Integration on laravel
The Laravel 5 Biblia Service Provider can be installed via Composer by requiring the
jnplonte/biblia package in your project's composer.json., (*1)
{
"require": {
"jnplonte/biblia": "1.0.*"
}
}
To use the Biblia Service Provider, you must register the provider when bootstrapping your Laravel application., (*2)
Find the providers key in your config/app.php and register the Service Provider., (*3)
'providers' => [
// ...
jnplonte\Biblia\BibliaServiceProvider::class,
],
Find the aliases key in your config/app.php and register the Facade., (*4)
'aliases' => [
// ...
'Biblia' => jnplonte\Biblia\Facades\BibliaFacade::class,
],
Run php artisan vendor:publish to publish the default config file, edit caching setting withing the resulting config/biblia.php file as desired., (*5)
$bibliaS = Biblia::getVerse();