haslv / ipbwi
IPBWI integration for Laravel
1.1.0
2015-07-23 19:56 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-12-21 17:47:39 UTC
README
[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();