credibility / dandb-laravel by credibility

Laravel Wrapper for DandB REST API
17,295
0
8
Package Data
Maintainer Username: credibility
Maintainer Contact: credibility@dandb.com (Credibility)
Package Create Date: 2013-11-11
Package Last Update: 2015-08-26
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-03-27 03:00:04
Package Statistics
Total Downloads: 17,295
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 8
Total Forks: 1
Total Open Issues: 0

Dun & Bradstreet Emerging Business Laravel Client

Coverage Status Build Status Packagist

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.