PHPackages                             open-pix/php-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. open-pix/php-sdk

ActiveLibrary[API Development](/categories/api)

open-pix/php-sdk
================

PHP OpenPix/Woovi SDK

v1.1.4(1y ago)139.2k—0%4[4 PRs](https://github.com/woovibr/php-sdk/pulls)MITPHPPHP ^7.3 || ^8.0CI passing

Since Jun 19Pushed 1y ago4 watchersCompare

[ Source](https://github.com/woovibr/php-sdk)[ Packagist](https://packagist.org/packages/open-pix/php-sdk)[ RSS](/packages/open-pix-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (9)Versions (9)Used By (0)

OpenPix PHP SDK
===============

[](#openpix-php-sdk)

[![PHP version](https://camo.githubusercontent.com/06767e708744fa7f804e986db9aa83fb682bd8838cffc18bd21109e85db23a8c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6f70656e2d7069782f7068702d73646b3f636f6c6f723d253233323563326130266c6f676f3d706870266c6162656c3d6f70656e2d7069782f7068702d73646b)](https://packagist.org/packages/open-pix/php-sdk)[![Download stats](https://camo.githubusercontent.com/327abc62674b978066afc85720675d7ddec649f3ef9dd3261035aa6c6509507b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f70656e2d7069782f7068702d73646b3f636f6c6f723d253233323563326130266c6f676f3d706870)](https://packagist.org/packages/open-pix/php-sdk)[![Latest release](https://camo.githubusercontent.com/7fa4ca06dad5097e69ecbb37e9ce0e23986746c46bbf2fa6ddbcb6cf52616118/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f70656e2d7069782f7068702d73646b3f6c6162656c3d6c61746573742b76657273696f6e)](https://packagist.org/packages/open-pix/php-sdk)[![CI status](https://camo.githubusercontent.com/732bebe07a1b5c0347e13947e383126f7c57d468cad1abb21b9e659aa6b905c9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4f70656e2d5069782f7068702d73646b2f636f64652d7175616c6974792e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473266c6f676f3d676974687562)](https://packagist.org/packages/open-pix/php-sdk)

Welcome to the OpenPix PHP SDK! This SDK provides convenient access to the OpenPix REST API, allowing you to easily integrate payment services into your PHP applications.

 [![usage example screenshot](example.png)](example.png)

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

[](#documentation)

See [SDK documentation](https://developers.openpix.com.br/docs/sdk/php/sdk-php-what-is) and [Rest API documentation](https://developers.openpix.com.br/api).

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

[](#installation)

Install the SDK with the necessary dependencies using Composer:

```
$ composer require open-pix/php-sdk guzzlehttp/guzzle guzzlehttp/psr7
```

Basic usage
-----------

[](#basic-usage)

Here is the basic usage of the SDK. See [SDK documentation](https://developers.openpix.com.br/docs/sdk/php/sdk-php-usage) for more details.

```
use OpenPix\PhpSdk\Client;

// Load autoload of Composer.
require_once __DIR__ . "/vendor/autoload.php";

$client = Client::create("YOUR_APP_ID");

// Create a customer.
$customer = [
    "name" => "Dan PHP-SDK",
    "taxID" => "00000000000", // CPF
    "email" => "email0@example.com",
    "phone" => "5511999999999",
    "correlationID" => "test-php-sdk-customer-" . mt_rand(1, 10000),
];

$client->customers()->create($customer);

// Create a charge using above customer.
$charge = [
    // Charge value.
    "value" => 1000, // (R$ 10,00)

    // Your correlation ID to keep track of this charge.
    "correlationID" => "test-php-sdk-charge-" . mt_rand(1, 10000),

    // Charge customer.
    "customer" => $customer,
];

$result = $client->charges()->create($charge);

// Get the generated dynamic BR code to be rendered as a QR Code.
echo $result["brCode"] . "\n";
```

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

[](#contributing)

If you have suggestions for how OpenPix PHP SDK could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the [Contributing Guide](CONTRIBUTING.md).

License
-------

[](#license)

OpenPix PHP SDK is distributed under the terms of the [MIT license](LICENSE).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.7% 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 ~103 days

Recently: every ~128 days

Total

6

Last Release

545d ago

PHP version history (2 changes)v1.0.0PHP ^7.4 || ^8.0

v1.1.3PHP ^7.3 || ^8.0

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/25864715a8f5bc5b4b25b33b0fddeca2c6b5c570d17ab056d907459d75771103?d=identicon)[criskell](/maintainers/criskell)

---

Top Contributors

[![criskell](https://avatars.githubusercontent.com/u/96352451?v=4)](https://github.com/criskell "criskell (91 commits)")[![jonathanpmartins](https://avatars.githubusercontent.com/u/6137992?v=4)](https://github.com/jonathanpmartins "jonathanpmartins (18 commits)")[![sibelius](https://avatars.githubusercontent.com/u/2005841?v=4)](https://github.com/sibelius "sibelius (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")[![vinibgoulart](https://avatars.githubusercontent.com/u/88122830?v=4)](https://github.com/vinibgoulart "vinibgoulart (2 commits)")[![edumaciel10](https://avatars.githubusercontent.com/u/54045014?v=4)](https://github.com/edumaciel10 "edumaciel10 (2 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (2 commits)")[![samueldurantes](https://avatars.githubusercontent.com/u/44513615?v=4)](https://github.com/samueldurantes "samueldurantes (1 commits)")

---

Tags

api-clientlaravelphppixsdk

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/open-pix-php-sdk/health.svg)

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

###  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)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15224.3M65](/packages/opensearch-project-opensearch-php)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)

PHPackages © 2026

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