PHPackages                             lenddo/sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. lenddo/sdk

ActiveLibrary[API Development](/categories/api)

lenddo/sdk
==========

SDK for communicating with Lenddo Services.

v2.8(8y ago)1138.7k1MITPHPPHP &gt;=5.3.0

Since Oct 4Pushed 7y ago11 watchersCompare

[ Source](https://github.com/Lenddo/php-lenddo)[ Packagist](https://packagist.org/packages/lenddo/sdk)[ Docs](http://www.lenddo.com)[ RSS](/packages/lenddo-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (16)Used By (0)

Lenddo PHP SDK
==============

[](#lenddo-php-sdk)

[![Build Status](https://camo.githubusercontent.com/df761bcc77a3266cde587911de138deb1d077b4427721532a192a1286c8d339f/68747470733a2f2f7472617669732d63692e6f72672f4c656e64646f2f7068702d6c656e64646f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Lenddo/php-lenddo) [![codecov.io](https://camo.githubusercontent.com/cb0306f98df47d0bbe3f9ff9ac92ddc30b19c76858b564b6b9b511a2945b238b/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f4c656e64646f2f7068702d6c656e64646f2e737667)](http://codecov.io/github/Lenddo/php-lenddo?branch=master) [![Packagist](https://camo.githubusercontent.com/6aabcc89cb2032358dff37ededcbb5b21106e9c2150a09678dcbcd94cf30a16b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656e64646f2f73646b2e737667)](https://packagist.org/packages/lenddo/sdk)

**Table of Contents**

- [Requirements](#requirements)
- [Installation](#installation)
- [REST Services](#rest-services)
    - [Authorize API Client](#authorize-api-client)
    - [Service Client](#service-client)
    - [Whitelabel Client](#whitelabel-client)
    - [Handling Exceptions](#handling-exceptions)
- [Webhook Management](#webhook-management)
- [ChangeLog](#changelog)

Requirements
------------

[](#requirements)

This SDK requires the following:

- > =PHP 5.3.3
- *Guzzle 3,4,5, or 6 !*
- *HAWK Authentication !*

*! These packages will be handled by the composer install process. They're listed for purposes of compatibility. If you are using a Guzzle version not compatible with our platform in your codebase already, please let us know and we'll upgrade the SDK as appropriate.*

Installation
------------

[](#installation)

The Lenddo PHP SDK is available via Composer and can be installed by running the `composer require lenddo/sdk` command. A local copy of composer is included if you do not have a global copy. This can be invoked by performing `php composer.phar install` in the root of this repository.

Please refer to the packagist link here: .

REST Services
-------------

[](#rest-services)

The **AuthorizeApiClient**, **ServiceClient** and **WhiteLabelClient** This SDK will allow you to contact Lenddo's REST based services. It acts as a wrapper around the popular **GuzzleHttp\\Guzzle** package. A common interface will be returned regardless of the Guzzle version used and the original Guzzle request/response objects are exposed for your convenience.

### Authorize API Client

[](#authorize-api-client)

The **AuthorizeApiClient** will allow you to impact product output by asynchronously providing data critical to the scoring or verification process.

- [Read the documentation here](docs/authorize_api_client.md)

### Service Client

[](#service-client)

The **ServiceClient** will allow you to retrieve the scoring, verification, and decision results from Lenddo.

- [Read the documentation here](docs/service_client.md)

### Whitelabel Client

[](#whitelabel-client)

The **WhiteLabelClient** will allow you to utilize Lenddo services without any Lenddo branding. This method of implementation is the most complex but allows you to fully customize your users' experience.

- [Read the documentation here](docs/whitelabel_client.md)

### Handling Exceptions

[](#handling-exceptions)

Both the *whitelabel client* and the *service client* have a common interface for making requests. Because of this you can utilize a single method for error handling for both classes.

- [Read the documentation here](docs/handling_exceptions.md)

Webhook Management
------------------

[](#webhook-management)

While the REST Services allow you to retrieve the results of a scoring or verification job they require you to continue contacting Lenddo until results are available. For many situations this is less than ideal. Due to this Lenddo offers a webhook service. The webhook service is a feature which allows you to receive a POST request at a designated URL the moment a result is available.

- [Read the documentation here](docs/webhooks.md)

ChangeLog
---------

[](#changelog)

**v2.8** Release notes -

> **Summary**
>
> - This release adds the parameters for altering the target authorize api region.

**v2.7** Release notes -

> **Summary**
>
> - Adding support for ApplicationFeatures [Documentation](docs/service_client.md#getting-application-features)

**v2.6** Release Notes -

> **Summary**
>
> - Adding Support for ApplicationMultipleScores [Documentation](docs/service_client.md#get-results-for-a-multiple-score-model)
> - Adding support for Authorize API &amp; PriorityData [Documentation](docs/authorize_api_client.md)

**v2.5** Release Notes -

> **Summary**
>
> - Adding support for e-mail probe in the verification class.

**v2.4** Release Notes -

> **Summary**
>
> - Adding support for the new ExtraApplicationData endpoint [Read the documentation here](docs/service_client.md#send-extra-application-data)

**v2.3** Release Notes -

> **Summary**
>
> - Adding new utility to test webhooks locally. [Read the documentation here](docs/testing_webhooks.md)

**v2.2** Release Notes -

> **Summary**
>
> - Adding new Verification management class for whitelabel verification probes.

**v2.1** Release Notes -

> **Summary**
>
> - Enhanced exception management
>     - New exception classes for reporting back error cases on REST API calls.
> - Documentation for exception management

**v2.0** Release Notes -

> **Summary**
>
> - Breaking changes from v1.x
> - Support for PHP 5.3, 5.4
> - Support for Guzzle 3, 4, 5
> - Updated Documentation
> - Certificate Authority Root Inclusion

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 92.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~58 days

Recently: every ~126 days

Total

15

Last Release

3110d ago

Major Versions

v1.3 → v2.02016-03-21

PHP version history (2 changes)v1.0PHP &gt;=5.5.0

v2.0PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ef136405e8b0584c083d94e2b6177501d429990193d7d113e1f82d4a795910e?d=identicon)[hlince](/maintainers/hlince)

---

Top Contributors

[![Howard3](https://avatars.githubusercontent.com/u/196480?v=4)](https://github.com/Howard3 "Howard3 (58 commits)")[![adonisv79](https://avatars.githubusercontent.com/u/8624038?v=4)](https://github.com/adonisv79 "adonisv79 (3 commits)")[![arjaysalvadora](https://avatars.githubusercontent.com/u/11629336?v=4)](https://github.com/arjaysalvadora "arjaysalvadora (1 commits)")[![mawi-alvarez](https://avatars.githubusercontent.com/u/481942?v=4)](https://github.com/mawi-alvarez "mawi-alvarez (1 commits)")

---

Tags

lenddo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lenddo-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/lenddo-sdk/health.svg)](https://phpackages.com/packages/lenddo-sdk)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
