credibility / dandb-laravel
Laravel Wrapper for DandB REST API
Installs: 18 230
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 7
Forks: 1
pkg:composer/credibility/dandb-laravel
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: 2025-10-25 22:40:07 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.