haslv/ipbwi

IPBWI integration for Laravel

Installs: 75

Dependents: 0

Stars: 3

Watchers: 3

Forks: 2

Language: PHP

1.1.0 2015-07-23 19:56 UTC

README

IPBWI integration for Laravel 5.x. Powered by HAS.LV.

Installation

Add package to composer.json

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

For Laravel 4.x use version 1.0.3 which uses IPBWI 3.6.6

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 vendor:publish

Usage

You can access IPBWI from facade.

Old usage:

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

New usage:

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