Dun & Bradstreet Emerging Business Laravel Client
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.