has-lv / ipbwi by sLIDe5

IPBWI integration for Laravel
216
9
7
Package Data
Maintainer Username: sLIDe5
Maintainer Contact: janis.burvis@gmail.com (Jānis Burvis)
Package Create Date: 2014-07-10
Package Last Update: 2015-07-23
Language: PHP
License: GPL-3.0
Last Refreshed: 2024-11-26 15:07:58
Package Statistics
Total Downloads: 216
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 9
Total Watchers: 7
Total Forks: 3
Total Open Issues: 1

IPBWI

[IPBWI] 1 integration for Laravel 5.x. Powered by [HAS.LV] 2.

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