PHPackages                             raigu/x-road-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. raigu/x-road-client

ActiveLibrary

raigu/x-road-client
===================

PHP library for making X-Road requests using PSR-18 libraries

v1.0.1(2mo ago)4556[1 PRs](https://github.com/raigu/x-road-client/pulls)MITPHPPHP ^8.0CI passing

Since Apr 30Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/raigu/x-road-client)[ Packagist](https://packagist.org/packages/raigu/x-road-client)[ RSS](/packages/raigu-x-road-client/feed)WikiDiscussions master Synced 5d ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/e70cc0b36f63e8131932c6213c9002e748b570ff461bf547a42205d21319ddd4/68747470733a2f2f706f7365722e707567782e6f72672f72616967752f782d726f61642d636c69656e742f762f737461626c65)](https://packagist.org/packages/raigu/x-road-client)[![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![build](https://github.com/raigu/x-road-client/workflows/build/badge.svg)](https://github.com/raigu/x-road-client/actions)[![codecov](https://camo.githubusercontent.com/10424e072fe1fb943b754517ea37c85e74f03ebf082fbae84c0003667dda9e09/68747470733a2f2f636f6465636f762e696f2f67682f72616967752f782d726f61642d636c69656e742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/raigu/x-road-client)

PHP library for consuming X-Road services.

It exposes service level request and response to the end application and hides low level logic (SOAP, HTTP).

The HTTP communication uses [PSR-18](https://www.php-fig.org/psr/psr-18/) compatible client which must be installed separately. This approach gives full control over HTTP layer if needed.

Compatibility
=============

[](#compatibility)

PHP ^8.0

(For PHP ^7.2 use version 0.1.0)

Installation
============

[](#installation)

```
composer install raigu/x-road-client
```

Usage
=====

[](#usage)

```
