haslv/ipbwi

IPBWI integration for Laravel

Installs: 68

Dependents: 0

Stars: 3

Watchers: 3

Forks: 2

Language: PHP

1.0.2 2015-01-02 12:26 UTC

README

IPBWI integration for Laravel 4. Powered by HAS.LV.

Installation

Add package to composer.json

"require": {
    "haslv/ipbwi": "1.0.*"
}

Update composer:

composer update

Add service provider to app/config/app.php

'Haslv\Ipbwi\IpbwiServiceProvider',

Add facade to app/config/app.php

'IPBWI' => 'Haslv\Ipbwi\Facade',

Publish config file:

php artisan config:publish haslv/ipbwi

Usage

You can access IPBWI from facade.

Old usage:

$member_info = $ipbwi->member->info();

New usage:

$member_info = IPBWI::member()->info();