PHPackages                             yield-tech/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. yield-tech/sdk-php

ActiveLibrary[API Development](/categories/api)

yield-tech/sdk-php
==================

The official Yield SDK for PHP

v0.7.1(10mo ago)06Apache-2.0PHPPHP &gt;=8.2

Since Mar 4Pushed 10mo agoCompare

[ Source](https://github.com/yield-tech/sdk-php)[ Packagist](https://packagist.org/packages/yield-tech/sdk-php)[ Docs](https://github.com/yield-tech/sdk-php/blob/main/README.md)[ RSS](/packages/yield-tech-sdk-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (11)Versions (6)Used By (0)

Yield SDK for PHP [![Packagist Version](https://camo.githubusercontent.com/67aa5625b2c4c3d76706da40556876a946f7d16b61900b760097571fa19fc7a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7969656c642d746563682f73646b2d706870)](https://packagist.org/packages/yield-tech/sdk-php)
===========================================================================================================================================================================================================================================================================================================

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

The official [Yield](https://www.paywithyield.com) SDK for PHP.

Documentation
-------------

[](#documentation)

- [API reference](https://github.com/yield-tech/sdk-php/blob/main/docs/index.md)

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

[](#installation)

```
composer require yield-tech/sdk-php
```

Usage
-----

[](#usage)

```
// For security, don't save the actual key in your code or repo
$client = new YieldTech\SdkPhp\Client(getenv('YIELD_API_KEY'));

// Fetch an existing order
$order = $client->order->fetch('ord_...');
print_r($order->customer->registeredName);

// Or create a new one
$newOrder = $client->order->create([
    'customer_id' => 'org_...',
    'total_amount' => 'PHP 1234.50',
    'note' => 'Test order from the PHP SDK!',
]);
```

For more details, check out our [API reference](https://github.com/yield-tech/sdk-php/blob/main/docs/index.md).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance54

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

Every ~31 days

Total

5

Last Release

313d ago

PHP version history (2 changes)v0.0.1PHP &gt;=8.1

v0.5.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b9f7e18f5c6942001ecd0a1c0b44c6fa1e87c329e840180635259e8aee7c627?d=identicon)[mattfromyield](/maintainers/mattfromyield)

---

Top Contributors

[![lezgomatt](https://avatars.githubusercontent.com/u/16533424?v=4)](https://github.com/lezgomatt "lezgomatt (5 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yield-tech-sdk-php/health.svg)

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

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[swisnl/json-api-client

A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.

211473.2k12](/packages/swisnl-json-api-client)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35636.1k2](/packages/telnyx-telnyx-php)

PHPackages © 2026

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