PHPackages                             elgigi/lyra-payments - 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. elgigi/lyra-payments

ActiveLibrary[Payment Processing](/categories/payments)

elgigi/lyra-payments
====================

Lyra payments Webservices v5 PHP Client (SytemPay, Payzen, Sogecommerce, Crédit du Nord, ...)

v1.2.0(4y ago)42743[1 issues](https://github.com/ElGigi/LyraPayments/issues)MITPHPPHP &gt;=7.1CI failing

Since Feb 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ElGigi/LyraPayments)[ Packagist](https://packagist.org/packages/elgigi/lyra-payments)[ Docs](https://elgigi.fr)[ RSS](/packages/elgigi-lyra-payments/feed)WikiDiscussions master Synced today

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

Lyra payments Webservices v5 PHP Client
=======================================

[](#lyra-payments-webservices-v5-php-client)

[![Latest Version](https://camo.githubusercontent.com/a767a196fe9728610c39705cd8450012d1db94efaf36f5861cf6ed4f41ad68ed/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c676967692f6c7972612d7061796d656e74732e7376673f7374796c653d666c61742d737175617265)](https://github.com/ElGigi/LyraPayments/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/7a09dec40041a697a58fecbc82d73b0c6f6ffdd32d48358a6f3e7c9e70ffeb22/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f456c476967692f4c7972615061796d656e74732f54657374732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://github.com/ElGigi/LyraPayments/actions/workflows/tests.yml?query=branch%3Amaster)[![Codacy Grade](https://camo.githubusercontent.com/37ae6545c07c2eed30b96879300edd0a3edb18c16d9cff8dfd1f272478b227cb/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f61333330616635353362333934646135386330653034623334333331663665322e7376673f7374796c653d666c61742d737175617265)](https://www.codacy.com/app/ElGigi/LyraPayments?utm_source=github.com&utm_medium=referral&utm_content=ElGigi/LyraPayments&utm_campaign=Badge_Grade)[![Total Downloads](https://camo.githubusercontent.com/183b2dba47b18e418742640a48719538c56fb11ad55abe3396f112c64a0e322b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c676967692f6c7972612d7061796d656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elgigi/lyra-payments)

PHP client to dialog with Lyra Network web services v5, payment solution for:

- **WebServices** of french Natixis banks
- **Payzen** for all french banks, most european banks, Brazil, Chile, Argentina, Peru, Mexico, USA and Canada, India and soon Colombia.
- **Sogecommerce** for the **Société Générale** french bank
- The **Crédit du Nord** french bank group
- The **OSB** bank to Tahiti
- The **CSB** bank to Noumea
- The **BNPP** bank in Africa
- **FirstData** to Brazil
- **Innocard** to Switzerland

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

[](#installation)

### Composer

[](#composer)

You can install the client with [Composer](https://getcomposer.org/), it's the recommended installation.

```
$ composer require elgigi/lyra-payments
```

### Dependencies

[](#dependencies)

- **PHP** &gt;= 7.1

Methods
-------

[](#methods)

All methods available in web services v5 of Lyra Network payment system are functional.

Each implemented method return detail of result ; you are able to call too `WebServices::getLastResult()` method after calling your method.

For more detail on functionality of each method and theirs details results, report you to the web services documentation.

### Backward compatibility of WebServices

[](#backward-compatibility-of-webservices)

```
array|null getPaymentUuid(LegacyTransactionKey $legacyTransactionKeyRequest)
```

### Routine transactions on payments

[](#routine-transactions-on-payments)

```
array|null createPayment(?ThreeDS $threeDSRequest, Payment $paymentRequest, Order $orderRequest, Card $cardRequest, ?Customer $customerRequest, ?Tech $techRequest, ?ShoppingCart $shoppingCartRequest)
array|null updatePayment(Query $queryRequest, Payment $paymentRequest)
array|null updatePaymentDetails(Query $queryRequest, ShoppingCart $shoppingCartRequest)
array|null cancelPayment(Query $queryRequest)
array|null findPayments(Query $queryRequest)
array|null refundPayment(Payment $paymentRequest, Query $queryRequest)
array|null duplicatePayment(Payment $paymentRequest, Query $queryRequest, Order $orderRequest)
array|null validatePayment(Query $queryRequest)
array|null capturePayment(Settlement $settlementRequest)
array|null getPaymentDetails(Query $queryRequest, ?ExtendedResponse $extendedResponseRequest)
array|null verifyThreeDSEnrollment(Payment $paymentRequest, Card $cardRequest, ?Tech $techRequest, ?ThreeDS $threeDSRequest)
array|null checkThreeDSAuthentication(ThreeDS $threeDSRequest)
```

### Token payments

[](#token-payments)

```
array|null createToken(Card $cardRequest, Customer $customerRequest)
array|null createTokenFromTransaction(Query $queryRequest, ?Card $cardRequest)
array|null updateToken(Query $queryRequest, ?Card $cardRequest, ?Customer $customerRequest)
array|null getTokenDetails(Query $queryRequest)
array|null cancelToken(Query $queryRequest)
array|null reactivateToken(Query $queryRequest)
array|null createSubscription(Order $orderRequest, Subscription $subscriptionRequest, Card $cardRequest)
array|null updateSubscription(Query $queryRequest, Subscription $subscriptionRequest, ?Payment $paymentRequest)
array|null getSubscriptionDetails(Query $queryRequest)
array|null cancelSubscription(Query $queryRequest)
```

Models
------

[](#models)

Models available to use payment methods:

- `Info\CartItem`
- `Info\Ext`
- `Request\BillingDetails`
- `Request\Card`
- `Request\Common`
- `Request\Customer`
- `Request\ExtendedResponse`
- `Request\ExtraDetails`
- `Request\LegacyTransactionKey`
- `Request\Order`
- `Request\Payment`
- `Request\Query`
- `Request\Settlement`
- `Request\ShippingDetails`
- `Request\ShoppingCart`
- `Request\Subscription`
- `Request\Tech`
- `Request\ThreeDS`

It's a simple integration of model describes on web services documentation **with data format control**.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 96.7% 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 ~494 days

Total

4

Last Release

1565d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18268216?v=4)[Ronan Giron](/maintainers/ElGigi)[@ElGigi](https://github.com/ElGigi)

---

Top Contributors

[![ElGigi](https://avatars.githubusercontent.com/u/18268216?v=4)](https://github.com/ElGigi "ElGigi (59 commits)")[![jbrissonnet-vp](https://avatars.githubusercontent.com/u/38564925?v=4)](https://github.com/jbrissonnet-vp "jbrissonnet-vp (1 commits)")[![jcarrier-vp](https://avatars.githubusercontent.com/u/38564918?v=4)](https://github.com/jcarrier-vp "jcarrier-vp (1 commits)")

---

Tags

paymentwebserviceslyrafirstdatapayzensystempaysogecommercecsblyra networkbanque populairecaisse d épargnecrédit du nordosbbnppinnocard

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/elgigi-lyra-payments/health.svg)

```
[![Health](https://phpackages.com/badges/elgigi-lyra-payments/health.svg)](https://phpackages.com/packages/elgigi-lyra-payments)
```

###  Alternatives

[omnipay/firstdata

First Data driver for the Omnipay payment processing library

21765.7k2](/packages/omnipay-firstdata)

PHPackages © 2026

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