PHPackages                             helmac/paddle-php71-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. helmac/paddle-php71-sdk

ActiveLibrary

helmac/paddle-php71-sdk
=======================

Paddle's PHP SDK for Paddle Billing. php 7.1

1.0.2(1y ago)02Apache-2.0PHPPHP &gt;=7.1

Since Jul 12Pushed 1y agoCompare

[ Source](https://github.com/helmac/paddle-php-sdk)[ Packagist](https://packagist.org/packages/helmac/paddle-php71-sdk)[ Docs](https://developer.paddle.com/api-reference/overview)[ RSS](/packages/helmac-paddle-php71-sdk/feed)WikiDiscussions main Synced 1mo ago

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

Paddle PHP SDK
==============

[](#paddle-php-sdk)

[![Build Status](https://github.com/PaddleHQ/paddle-php-sdk/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/PaddleHQ/paddle-php-sdk/actions/?query=branch%3Amain)[![Latest Stable Version](https://camo.githubusercontent.com/d106a8390353950f78b89cc8bb65ab424816c0fcc3ac130b64808ba714a5a877/687474703a2f2f706f7365722e707567782e6f72672f706164646c6568712f706164646c652d7068702d73646b2f76)](https://packagist.org/packages/paddlehq/paddle-php-sdk)[![Total Downloads](https://camo.githubusercontent.com/01e22b1e05fccd7f627a46dd2f20778fc15df4c4224cb623dede2aa0cc4d3f36/687474703a2f2f706f7365722e707567782e6f72672f706164646c6568712f706164646c652d7068702d73646b2f646f776e6c6f616473)](https://packagist.org/packages/paddlehq/paddle-php-sdk)[![License](https://camo.githubusercontent.com/257cdc97fa25b8173aec58ffedb87bfdb71aafc96d0efcc1e01f66f89abc2426/687474703a2f2f706f7365722e707567782e6f72672f706164646c6568712f706164646c652d7068702d73646b2f6c6963656e7365)](https://packagist.org/packages/paddlehq/paddle-php-sdk)

[Paddle Billing](https://www.paddle.com/billing?utm_source=dx&utm_medium=paddle-php-sdk) is a complete digital product sales and subscription management platform, designed for modern software businesses. It helps you increase your revenue, retain customers, and scale your operations.

This is a [PHP](https://www.php.net/) SDK that you can use to integrate Paddle Billing with applications written in PHP.

For working with Paddle in your frontend, use [Paddle.js](https://developer.paddle.com/paddlejs/overview?utm_source=dx&utm_medium=paddle-php-sdk). You can open checkouts, securely collect payment information, build pricing pages, and integrate with Paddle Retain.

> **Important:** This package works with Paddle Billing. It does not support Paddle Classic. To work with Paddle Classic, see: [Paddle Classic API reference](https://developer.paddle.com/classic/api-reference/1384a288aca7a-api-reference?utm_source=dx&utm_medium=paddle-php-sdk)

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

[](#requirements)

PHP 8.1 and later.

Composer
--------

[](#composer)

You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:

```
composer require paddlehq/paddle-php-sdk
```

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

```
require_once 'vendor/autoload.php';
```

Usage
-----

[](#usage)

To authenticate, you'll need an API key. You can create and manage API keys in **Paddle &gt; Developer tools &gt; Authentication**.

Pass your API key while initializing a new Paddle client.

```
use Paddle\SDK\Client;

$paddle = new Client('API_KEY');
```

You can also pass an environment to work with the sandbox:

```
use Paddle\SDK\Client;
use Paddle\SDK\Environment;
use Paddle\SDK\Options;

$paddle = new Client(
    apiKey: 'API_KEY',
    options: new Options(Environment::SANDBOX),
);
```

Keep in mind that API keys are separate for your sandbox and live accounts, so you'll need to generate keys for each environment.

Examples
--------

[](#examples)

### List entities

[](#list-entities)

You can list supported entities with the `list` function in the resource. It returns an iterator to help when working with multiple pages.

```
use Paddle\SDK\Client;

$paddle = new Client('API_KEY');

$products = $paddle->products->list();

// List returns an iterable, so pagination is handled automatically.
foreach ($products as $product) {
    echo $product->id;
}
```

### Create an entity

[](#create-an-entity)

You can create a supported entity with the `create` function in the resource. It accepts the resource's corresponding `Create` operation e.g. `CreateProduct`. The created entity is returned.

```
use Paddle\SDK\Client;
use Paddle\SDK\Entities\Shared\TaxCategory;
use Paddle\SDK\Resources\Products\Operations\CreateProduct;

$paddle = new Client('API_KEY');

$product = $paddle->products->create(
    new CreateProduct(
        name: 'ChatApp Education',
        taxCategory: TaxCategory::Standard(),
    ),
);
```

### Update an entity

[](#update-an-entity)

You can update a supported entity with the `update` function in the resource. It accepts the `id` of the entity to update and the corresponding `Update` operation e.g. `UpdateProduct`. The updated entity is returned.

```
use Paddle\SDK\Client;
use Paddle\SDK\Resources\Products\Operations\UpdateProduct;

$paddle = new Client('API_KEY');

$operation = new UpdateProduct(
    name: 'ChatApp Professional'
);

$product = $paddle->products->update('id', $operation);
```

Where operations require more than one `id`, the `update` function accepts multiple arguments. For example, to update an address for a customer, pass the `customerId` and the `addressId`:

```
$address = $paddle->addresses->update(
    'customer_id',
    'address_id',
    $operation,
);
```

### Get an entity

[](#get-an-entity)

You can get an entity with the `get` function in the resource. It accepts the `id` of the entity to get. The entity is returned.

```
use Paddle\SDK\Client;

$paddle = new Client('API_KEY');

$product = $paddle->products->get('id');
```

Resources
---------

[](#resources)

### Webhook signature verification

[](#webhook-signature-verification)

The SDK includes a helper class to verify webhook signatures sent by Notifications from Paddle.

```
use Paddle\SDK\Notifications\Secret;
use Paddle\SDK\Notifications\Verifier;

(new Verifier())->verify(
    $request,
    new Secret('WEBHOOK_SECRET_KEY')
);
```

Learn more
----------

[](#learn-more)

- [Paddle API reference](https://developer.paddle.com/api-reference/overview?utm_source=dx&utm_medium=paddle-php-sdk)
- [Sign up for Paddle Billing](https://login.paddle.com/signup?utm_source=dx&utm_medium=paddle-php-sdk)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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

Total

3

Last Release

673d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fffb2555ef6b1ddc3d54b25bdc261c1f513df9c14437a7fb9e00afdae5636656?d=identicon)[helmac](/maintainers/helmac)

---

Top Contributors

[![mikeymike](https://avatars.githubusercontent.com/u/2174476?v=4)](https://github.com/mikeymike "mikeymike (20 commits)")[![vifer](https://avatars.githubusercontent.com/u/17689985?v=4)](https://github.com/vifer "vifer (18 commits)")[![Invincibear](https://avatars.githubusercontent.com/u/6895337?v=4)](https://github.com/Invincibear "Invincibear (5 commits)")[![helmac](https://avatars.githubusercontent.com/u/11264677?v=4)](https://github.com/helmac "helmac (3 commits)")[![N-M](https://avatars.githubusercontent.com/u/781417?v=4)](https://github.com/N-M "N-M (2 commits)")

---

Tags

phpsdkpaddle

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/helmac-paddle-php71-sdk/health.svg)

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

###  Alternatives

[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[paddlehq/paddle-php-sdk

Paddle's PHP SDK for Paddle Billing.

53301.7k](/packages/paddlehq-paddle-php-sdk)

PHPackages © 2026

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