PHPackages                             rev/xa-platform-client - 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. rev/xa-platform-client

ActiveLibrary[API Development](/categories/api)

rev/xa-platform-client
======================

Client written in PHP for XAPlatform

v1.2.0(9y ago)153MITPHPPHP &gt;=7.0

Since Mar 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Reverze/XAPlatformClient)[ Packagist](https://packagist.org/packages/rev/xa-platform-client)[ RSS](/packages/rev-xa-platform-client/feed)WikiDiscussions master Synced 2mo ago

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

XAPlatformClient
================

[](#xaplatformclient)

Client for XAPlatform written in PHP

\##What is it? The XAPlatformClient is a some kind of bridge between XAPlatform and your app. It helps you to integrate your app with XAPlatform. This library does not require any frameworks (its not a framework-bundle).

\##Installation You can install this library using composer:

```
composer require rev/xa-platform-client

```

This will install package at newest version.

\##Usage Before you will use it, you must have registered application at XAPlatform. Application key is a special key which identifies your app and app's other.

At first we must determine application key and XAPlatform provider.

```
$platformCredentials = new PlatformClient\Auth\PlatformCredentials();
$platformCredentials->setAppKey($yourApplicationId);
$platformCredentials->setProvider($yourProviderHostname);
$platformCredentials->setPort($yourProviderServicePort);
```

The next is to set up cache driver. Caching is use to improve performance. The recommended cache driver is **apcu**. Then you should determine cache lifetime multiplier. What is lifetime multiplier? Each action has own cache lifetime. If you set lifetime multiplier as *2*, each action will be stored 2 times longer.

```
$cacheDriverParameters = new PlatformClient\Cache\CacheDriverParameters();
$cacheDriverParameters->setDriver('apcu');
$cacheDriverParameters->setMultiplier(2);
```

At the end we initialize client core using above parameters:

```
$core = new PlatformClient\Core();
$core->setProvider($platformCredentials);
$core->setCacheParameters($cacheDriverParameters);

$core->connect();
```

That's all. Your app is ready to integrate with XAPlatform.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

2

Last Release

3350d ago

Major Versions

0.7.x-dev → v1.2.02017-03-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/2504dc6e0052993792c1a10e18f92a56c8579e1c7ffb6aaf5cbdfd9d51ca281f?d=identicon)[Reverze](/maintainers/Reverze)

---

Top Contributors

[![Reverze](https://avatars.githubusercontent.com/u/5349419?v=4)](https://github.com/Reverze "Reverze (36 commits)")

### Embed Badge

![Health badge](/badges/rev-xa-platform-client/health.svg)

```
[![Health](https://phpackages.com/badges/rev-xa-platform-client/health.svg)](https://phpackages.com/packages/rev-xa-platform-client)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[thenbsp/wechat

微信公众平台第三方 SDK 开发包，优雅、健壮，可扩展，遵循 PSR 开发规范。

9408.2k](/packages/thenbsp-wechat)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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