New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

rootxs/sudobible-laravel

Laravel Service Provider for SudoBible.
26
Install
composer require rootxs/sudobible-laravel
Latest Version:0.0.3
PHP:>=5.4
License:MIT
Last Updated:Jul 30, 2015
Links: GitHub  ·  Packagist
Maintainer: rootxs

SudoBible-Laravel

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

Related Packages

railken/lara-eye
38,923 38
api
juampi92/api-resources

Manage your resources maintaining API versioning

934,502 111
tailflow/laravel-orion

Orion for Laravel allows you to build a fully featured REST API based on your El...

814,907 1,591
unlu/laravel-api-query-builder

Laravel API Query Builder Package.

720,455 329
juampi92/phecks

A package to run custom PHP checks

411,477 4

Version History

Version Released PHP License
0.0.3 >=5.4 MIT
0.0.2 >=5.4 MIT
0.0.1 >=5.4 MIT