Package Data | |
---|---|
Maintainer Username: | rootxs |
Package Create Date: | 2015-07-30 |
Package Last Update: | 2015-07-30 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-22 15:03:11 |
Package Statistics | |
---|---|
Total Downloads: | 25 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Laravel Service Provider for SudoBible.
Install the SudoBible Service Provider via Composer
by adding the rootxs/sudobible-laravel
package to the require
object in
your project's composer.json
.
{
...
"require": {
"rootxs/sudobible-laravel": "dev-master"
},
...
}
NOTE: This package automatically requires rootxs/sudobible
, so you do NOT
have to add it separately to your composer.json
.
Then run composer update
.
Next, add the SudoBible Service Provider to the providers
array in config/app.php
.
'providers' => array(
...
'RootXS\SudoBibleServiceProvider',
)
Add the SudoBible facade to the aliases
array in config/app.php
.
'aliases' => array(
...
'SudoBible' => 'RootXS\SudoBibleFacade',
)
The following environment variables are used to configure SudoBible:
SUDOBIBLE_DB_HOST
SUDOBIBLE_DB_USER
SUDOBIBLE_DB_PASS
SUDOBIBLE_DB_NAME
SUDOBIBLE_TRANSLATION // optional
To customize the configuration options, publish the configuration file using Artisan:
php artisan vendor:publish
Update your settings in the generated app/config/sudobible.php
configuration file.
SudoBible::verse('John', 3, 16);