Download the PHP package rev/xa-platform-client without Composer
On this page you can find all versions of the php package rev/xa-platform-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rev/xa-platform-client
More information about rev/xa-platform-client
Files in rev/xa-platform-client
Package xa-platform-client
Short Description Client written in PHP for XAPlatform
License MIT
Informations about the package xa-platform-client
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:
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.
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.
At the end we initialize client core using above parameters:
That's all. Your app is ready to integrate with XAPlatform.
All versions of xa-platform-client with dependencies
doctrine/cache Version ^1.6
ci/restclientbundle Version ^2.0.2
symfony/http-foundation Version ^3.2.4
webmozart/json Version ^1.2.2
josantonius/ip Version ^1.1.0