PHPackages                             paysafegroup/paysafe\_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. [Payment Processing](/categories/payments)
4. /
5. paysafegroup/paysafe\_sdk\_php

ActiveLibrary[Payment Processing](/categories/payments)

paysafegroup/paysafe\_sdk\_php
==============================

PHP SDK for the Paysafe API

v1.1.2(6y ago)9410.5k↓17.4%36[3 issues](https://github.com/paysafegroup/paysafe_sdk_php/issues)[6 PRs](https://github.com/paysafegroup/paysafe_sdk_php/pulls)MITPHPPHP &gt;=5.6CI failing

Since Jun 5Pushed 1y ago11 watchersCompare

[ Source](https://github.com/paysafegroup/paysafe_sdk_php)[ Packagist](https://packagist.org/packages/paysafegroup/paysafe_sdk_php)[ RSS](/packages/paysafegroup-paysafe-sdk-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (1)Versions (8)Used By (0)

Paysafe PHP SDK
===============

[](#paysafe-php-sdk)

---

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

[](#installation)

### Windows

[](#windows)

On Windows, you will be required set the following environment variable that points to a valid CA certificate on your system in order to perform the https operations:

```
SSL_CERT_FILE

```

Alternatively, you can make a call in your code to the following static method using the path to your CA certificate:

```
\Paysafe\PaysafeApiClient::setCACertPath(_PATH_TO_CERTIFICATE_);

```

This SDK requires PHP &gt;= 5.3 and cURL to be installed.

This SDK requires that you can complete an SSL connection using cURL to the API endpoints from within your hosting environment . Any cURL errors returned will require you to complete connectivity troubleshooting within your hosting environment. See cURL error codes for assistance:

Usage
-----

[](#usage)

### Running Sample Code

[](#running-sample-code)

Update the following file with your credentials and account number:

> /sample/config.php

#### PHP 5.3

[](#php-53)

Create a new virtual host in your local web server with the sample directory within your SDK directory as the webroot. Open your web browser and navigate to the URL specified in the virtual host configuration.

#### PHP 5.4+

[](#php-54)

In your command-line interface, navigate to the /sample directory inside of the SDK directory and type the following command:

```
php -S localhost:8081

```

Open your web browser and navigate to the following URL:

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

5

Last Release

2447d ago

PHP version history (2 changes)1.0.1PHP &gt;=5.3.0

v1.1.0PHP &gt;=5.6

### Community

Maintainers

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

---

Top Contributors

[![asawarivaidya](https://avatars.githubusercontent.com/u/22954853?v=4)](https://github.com/asawarivaidya "asawarivaidya (34 commits)")[![PayLeaseBrian](https://avatars.githubusercontent.com/u/16807776?v=4)](https://github.com/PayLeaseBrian "PayLeaseBrian (34 commits)")[![francoisneron](https://avatars.githubusercontent.com/u/1410548?v=4)](https://github.com/francoisneron "francoisneron (7 commits)")[![OpusSdkSupport](https://avatars.githubusercontent.com/u/34403114?v=4)](https://github.com/OpusSdkSupport "OpusSdkSupport (6 commits)")[![smartbrother](https://avatars.githubusercontent.com/u/6117538?v=4)](https://github.com/smartbrother "smartbrother (3 commits)")[![lampelk](https://avatars.githubusercontent.com/u/1291378?v=4)](https://github.com/lampelk "lampelk (2 commits)")[![jbPayLease](https://avatars.githubusercontent.com/u/31292494?v=4)](https://github.com/jbPayLease "jbPayLease (2 commits)")[![kumarvipin](https://avatars.githubusercontent.com/u/11393347?v=4)](https://github.com/kumarvipin "kumarvipin (1 commits)")

---

Tags

sdkpayment processingpaymentnetbanxoptimal

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/paysafegroup-paysafe-sdk-php/health.svg)

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

###  Alternatives

[sumup/sumup-ecom-php-sdk

SumUp PHP SDK

52303.6k1](/packages/sumup-sumup-ecom-php-sdk)[yandex-money/yandex-money-sdk-php

Yandex.Money API SDK for PHP

105168.9k2](/packages/yandex-money-yandex-money-sdk-php)[cryptonator/merchant-php-sdk

Cryptonator.com Merchant API SDK for PHP

2714.4k](/packages/cryptonator-merchant-php-sdk)

PHPackages © 2026

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