credibility / dandb-laravel
Laravel Wrapper for DandB REST API
v1.0.3
2015-08-26 22:32 UTC
Requires
- php: >=5.4.0
- credibility/dandb: 1.0.*
- illuminate/support: *
Requires (Dev)
- mockery/mockery: dev-master
- phpunit/phpunit: 4.0.*
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2024-11-23 17:55:18 UTC
README
Dun and Bradstreet Emerging Business API Client for Laravel based on credibility/dandb.
Installation
Using composer:
"require": {
"credibility/dandb-laravel": "dev-master"
}
Then, in config/app.php
, add the following to the service providers array.
array(
...
'Credibility\DandB\Providers\DandBServiceProvider',
)
Configs
Run php artisan config:publish credibility/dandb-laravel
to publish your config file. Usage instructions are inside the file.
Usage
To use within the application, call App::make('dandb')
or if you have an instance of the Illuminate/Foundation/Application
, $app->make('dandb')
From there, the returned object will allow you to call methods within the credibility/dandb class. These calls will automatically be cached using the Laravel Cache abstraction.