PHPackages                             securetrading/stpp\_json - 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. securetrading/stpp\_json

ActiveLibrary[API Development](/categories/api)

securetrading/stpp\_json
========================

Secure Trading's JSON API.

4.0.7(3mo ago)4488.2k—7.6%12[1 PRs](https://github.com/Secure-Trading/PHP-API/pulls)3MITPHPPHP ^8.2CI passing

Since Nov 16Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/Secure-Trading/PHP-API)[ Packagist](https://packagist.org/packages/securetrading/stpp_json)[ RSS](/packages/securetrading-stpp-json/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (13)Used By (3)

PHP-API
=======

[](#php-api)

Installation
============

[](#installation)

Install this library using Composer. From the root directory of your application just run:

```
composer require securetrading/stpp_json

```

Documentation
=============

[](#documentation)

Please refer to  for full documentation.

Bugs
====

[](#bugs)

Please report any bugs to .

Usage
=====

[](#usage)

See examples/ in this repository for an example of how to use this API.

Release History
---------------

[](#release-history)

VersionChanges4.0.7phpunit update4.0.6PHP-Log update.4.0.5PHP-Log &amp; PHP-Http update.4.0.4Test and deprecation fixes.4.0.3PHP 8.2 compat.4.0.2Update integration tests postcode values - gateways test logic was updated causing our tests to fail.4.0.1Incorrect data ref4.0.0PHP 8.1 compat.3.0.0PHP 8 compat.2.0.0PHP 7.3+ compat.1.0.2PHP 7.0 patch.1.0.1TODO1.0.0Initial ReleasePHP Version Compatibility
-------------------------

[](#php-version-compatibility)

VersionChanges4.0.7PHP 8.24.0.6PHP 8.1 - PHP 8.24.0.5PHP 8.1 - PHP 8.24.0.4PHP 8.1+4.0.3PHP 8.1+4.0.2PHP 8.1+4.0.1PHP 8.1+4.0.0PHP 8.1+3.0.0PHP 7.3 - 7.X, PHP 8.0.0 - 8.0.32.0.0PHP 7.3 - PHP 7.41.0.2PHP 7.0 - PHP 7.21.0.1PHP 5.x1.0.0PHP 5.x

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance82

Actively maintained with recent releases

Popularity43

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~337 days

Recently: every ~208 days

Total

11

Last Release

95d ago

Major Versions

1.0.0 → 2.0.02020-06-29

1.0.2 → 3.0.02021-04-20

3.0.0 → 4.0.02022-05-31

PHP version history (5 changes)1.0.0PHP &gt;=5.3.0

2.0.0PHP ^7.3

3.0.0PHP ^8.0

4.0.0PHP ^8.1

4.0.7PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/af146d416e32f8fc2fe031d981161aeabed078bcc265a89a7a40bc42c7a03194?d=identicon)[Secure-Trading](/maintainers/Secure-Trading)

---

Top Contributors

[![Secure-Trading](https://avatars.githubusercontent.com/u/18596549?v=4)](https://github.com/Secure-Trading "Secure-Trading (6 commits)")[![anthony-norman-tp](https://avatars.githubusercontent.com/u/107112886?v=4)](https://github.com/anthony-norman-tp "anthony-norman-tp (5 commits)")[![peter-barrow-ST](https://avatars.githubusercontent.com/u/2707530?v=4)](https://github.com/peter-barrow-ST "peter-barrow-ST (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![MadMikeyB](https://avatars.githubusercontent.com/u/831828?v=4)](https://github.com/MadMikeyB "MadMikeyB (1 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/securetrading-stpp-json/health.svg)

```
[![Health](https://phpackages.com/badges/securetrading-stpp-json/health.svg)](https://phpackages.com/packages/securetrading-stpp-json)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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