rootxs/sudobible-laravel
最新稳定版本:0.0.3
Composer 安装命令:
composer require rootxs/sudobible-laravel
包简介
Laravel Service Provider for SudoBible.
README 文档
README
Laravel Service Provider for SudoBible.
Installation & Setup
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', )
Configuration
The following environment variables are used to configure SudoBible:
SUDOBIBLE_DB_HOST
SUDOBIBLE_DB_USER
SUDOBIBLE_DB_PASS
SUDOBIBLE_DB_NAME
SUDOBIBLE_TRANSLATION // optional
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.
Usage
SudoBible::verse('John', 3, 16);
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-30