Skip to content
master
Switch branches/tags
Code
This branch is up to date with master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

Creditsafe API

composer require synergitech/creditsafe-connect

Usage

Setting up Client

$config = [
    'username'  =>  'username',
    'password'  =>  'password'
];

$creditsafe = new \SynergiTech\Creditsafe\Client($config);

Access countries and their codes

$creditsafe->countries()->access();

Search criteria using country code

$creditsafe->companies()->searchCriteria(['countries' => 'GB']);

Company search pagination

$search = $creditsafe->companies()->search(['countries' => 'GB', 'name' => 'GOOGLE UK LIMITED']);
$search->setPageSize(100);
foreach ($search as $result) {
    $company = $result->get();
}

Get company report

$creditsafe->companies()->get('GB001-0-03977902');

Running tests

vendor/bin/phpunit tests

About

No description, website, or topics provided.

Resources

License

Packages

No packages published

Languages