PHPackages                             ownage/approvedeny-sdk-php - 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. ownage/approvedeny-sdk-php

ActiveLibrary[API Development](/categories/api)

ownage/approvedeny-sdk-php
==========================

1.0.0(2y ago)13[2 PRs](https://github.com/Ownage-FDT/approvedeny-sdk-php/pulls)MITPHPPHP &gt;=8.1

Since Jul 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Ownage-FDT/approvedeny-sdk-php)[ Packagist](https://packagist.org/packages/ownage/approvedeny-sdk-php)[ Docs](https://github.com/ownage/approvedeny-sdk-php)[ RSS](/packages/ownage-approvedeny-sdk-php/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

ApproveDeny SDK for PHP
=======================

[](#approvedeny-sdk-for-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d5795ce0427c8c10f0dff86393db7ee27e604fc2dd5bf7739c600e5f59b81fc2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f776e6167652f617070726f766564656e792d73646b2d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ownage/approvedeny-sdk-php)[![Total Downloads](https://camo.githubusercontent.com/5e9aeb1a5dedcb8bcaab14d4c4cd25faf7264d2eb8c1bb3cd6ae469f892058b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f776e6167652f617070726f766564656e792d73646b2d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ownage/approvedeny-sdk-php)[![GitHub Actions](https://github.com/Ownage-FDT/approvedeny-sdk-php/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Ownage-FDT/approvedeny-sdk-php/actions/workflows/run-tests.yml/badge.svg)

The ApproveDeny SDK for PHP provides an easy way to interact with the ApproveDeny API using PHP.

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

[](#installation)

> **Requires [PHP 8.1+](https://php.net/releases/)**

You can install the package via composer:

```
composer require ownage/approvedeny-sdk-php
```

Usage
-----

[](#usage)

To use the SDK, you need to create an instance of the approvedeny `Client` class. You can do this by passing your API key to the constructor.

```
use Ownage\ApproveDeny\Client;

$client = new Client('your-api-key');
```

### Creating a new check request

[](#creating-a-new-check-request)

To create a new check request, you need to call the `createCheckRequest` method on the client instance.

```
$checkRequest = $client->createCheckRequest('check-id', [
    'description' => 'A description of the check request',
    'metadata' => [
        'key' => 'value',
    ],
]);
```

### Retrieving a check request

[](#retrieving-a-check-request)

To retrieve a check request, you need to call the `getCheckRequest` method on the client instance.

```
$checkRequest = $client->getCheckRequest('check-request-id');
```

### Retrieving a check request response

[](#retrieving-a-check-request-response)

To retrieve a check request response, you need to call the `getCheckRequestResponse` method on the client instance.

```
$checkRequestResponse = $client->getCheckRequestResponse('check-request-id');
```

### Verifying webhook signatures

[](#verifying-webhook-signatures)

To verify webhook signatures, you need to call the `isValidWebhookSignature` method on the client instance. This method returns a boolean value indicating whether the signature is valid or not.

```
$isValidSignature = $client->isValidWebhookSignature('your-encryption-key', 'signature', ['foo' => 'bar']);

if ($isValidSignature) {
    // The signature is valid
} else
    // The signature is invalid
}
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please use the issue tracker.

Credits
-------

[](#credits)

- [Olayemi Olatayo](https://github.com/iamolayemi)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1084d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/200433a0e307ffa728cf19394696c389af5913bb22302927eff9b1461895bf36?d=identicon)[ownage-admin](/maintainers/ownage-admin)

---

Top Contributors

[![iamolayemi](https://avatars.githubusercontent.com/u/77931978?v=4)](https://github.com/iamolayemi "iamolayemi (2 commits)")

---

Tags

approvedenyapprovedeny-sdk-php

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ownage-approvedeny-sdk-php/health.svg)

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

###  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)
