PHPackages                             dojo-engineering/dojo-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. dojo-engineering/dojo-php

ActiveLibrary[API Development](/categories/api)

dojo-engineering/dojo-php
=========================

The official Dojo PHP library, supporting PHP 7.4+

v2.0.0(7mo ago)24.1k—9.1%2[2 issues](https://github.com/dojo-engineering/Dojo.PHP/issues)MITPHPPHP &gt;=7.4

Since May 12Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/dojo-engineering/Dojo.PHP)[ Packagist](https://packagist.org/packages/dojo-engineering/dojo-php)[ Docs](https://github.com/dojo-engineering/Dojo.PHP)[ RSS](/packages/dojo-engineering-dojo-php/feed)WikiDiscussions main Synced 1mo ago

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

Dojo PHP SDK
============

[](#dojo-php-sdk)

The official [Dojo](https://dojo.tech) PHP library, supporting [Payments API](https://docs.dojo.tech/payments/api).

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

[](#installation)

Use [Composer](https://getcomposer.org/) to install the Dojo PHP library:

```
composer require dojo-engineering/dojo-php
```

Build source code
-----------------

[](#build-source-code)

In order to build, PHP 7.4+ is required. Alternatively, use the VSCode devcontainer. Do the following:

1. Run:

```
composer install
```

2. Run from the root of the repository (with `execute` permission):

```
./build/generate-openapi.sh
```

3. Copy all files from `/generated/src` into `/src`

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

[](#documentation)

For a comprehensive list of examples, check out the [API documentation](https://docs.dojo.tech/payments/api).

Usage
-----

[](#usage)

```
use Dojo_PHP\ApiFactory;

$apiKey = "YOUR_API_KEY";
$apiPaymentIntent = ApiFactory::createPaymentIntentApi($apiKey);

$req = new CreatePaymentIntentRequest();
$req->setReference("test");

$money = new Money();
$money->setValue(100);
$money->setCurrencyCode("GBP");

$req->setAmount($money);

$pi = $apiPaymentIntent->paymentIntentsCreatePaymentIntent(\Dojo_PHP\API_VERSION, $req);
```

For any requests, bugs, or comments, please [open an issue](https://github.com/dojo-engineering/Dojo.PHP/issues) or [submit a pull request](https://github.com/dojo-engineering/Dojo.PHP/pulls). You can also reach out to us on our [Discord server](https://discord.gg/tTG98EWVdB).

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance44

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% 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 ~293 days

Total

4

Last Release

222d ago

Major Versions

v1.2.0 → v2.0.02025-10-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ac3f32bd8ecd45fda2ec2a3419069246f3afae6e9812f171792fd19191c80b0?d=identicon)[roman.kondratyev@dojo.tech](/maintainers/roman.kondratyev@dojo.tech)

![](https://www.gravatar.com/avatar/ab355b70701704df805f1d0c35e70e335fdfc3cb8bb31b342a20c5db1ee4d7a5?d=identicon)[martin.hay@dojo.tech](/maintainers/martin.hay@dojo.tech)

---

Top Contributors

[![RomanKondratyev](https://avatars.githubusercontent.com/u/85743312?v=4)](https://github.com/RomanKondratyev "RomanKondratyev (13 commits)")[![andrea3bianchi](https://avatars.githubusercontent.com/u/34034974?v=4)](https://github.com/andrea3bianchi "andrea3bianchi (1 commits)")

---

Tags

dojo-paymentsdojo-sdkphpapipackagedojo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dojo-engineering-dojo-php/health.svg)

```
[![Health](https://phpackages.com/badges/dojo-engineering-dojo-php/health.svg)](https://phpackages.com/packages/dojo-engineering-dojo-php)
```

###  Alternatives

[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2292.2M24](/packages/php-opencloud-openstack)[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)

PHPackages © 2026

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