PHPackages                             nathand/sylius-lyranetwork-plugin - 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. nathand/sylius-lyranetwork-plugin

ActiveSylius-plugin[Payment Processing](/categories/payments)

nathand/sylius-lyranetwork-plugin
=================================

This plugin enables you to setup the Lyra Collect payment gateway on your Sylius website.

08PHP

Since Jun 11Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/diasnath/Sylius)[ Packagist](https://packagist.org/packages/nathand/sylius-lyranetwork-plugin)[ RSS](/packages/nathand-sylius-lyranetwork-plugin/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

Lyra Collect for Sylius
=======================

[](#lyra-collect-for-sylius)

Lyra Collect for Sylius is an open source plugin that links e-commerce websites based on Sylius to Lyra Collect secure payment gateway developed by [Lyra Network](https://www.lyra.com/).

Installation &amp; Upgrade
--------------------------

[](#installation--upgrade)

### With Composer

[](#with-composer)

- Require the plugin with composer using the following command:

```
composer require lyranetwork/sylius-lyranetwork-plugin dev-lyra-v2

```

- Add the following line in **bundles.php** file located in `[sylius-root]/config/`:

```
Lyranetwork\Lyra\LyranetworkLyraPlugin::class => ['all' => true],

```

- Add Lyra routes in **routes.yaml** file located in `[sylius-root]/config/`:

```
sylius_lyra:
   resource: "@LyranetworkLyraPlugin/Resources/config/routing.yaml"
```

- Add Lyra config in \_**sylius.yaml** file located in `[sylius-root]/config/packages` :

```
imports:
[...]
    - { resource: "@LyranetworkLyraPlugin/Resources/config/config.yaml" }

```

- Dump the autoload cache using the following command:

```
composer dump-autoload

```

- Empty the cache with the following command:

```
php bin/console cache:clear

```

The plugin should be now available in the list of payment methods that you can create.

### With plugin zip file

[](#with-plugin-zip-file)

- Unzip module in your Sylius root folder.
- Add in file `[sylius-root]/composer.json`, in autoload psr-4 the following line:

```
"Lyranetwork\\Lyra\\": "LyranetworkLyra/src/"

```

- Add the following line in **bundles.php** file located in `[sylius-root]/config/`:

```
Lyranetwork\Lyra\LyranetworkLyraPlugin::class => ['all' => true],

```

- Add Lyra routes in **routes.yaml** file located in `[sylius-root]/config/`:

```
sylius_lyra:
   resource: "@LyranetworkLyraPlugin/Resources/config/routing.yaml"
```

- Add Lyra config in \_**sylius.yaml** file located in `[sylius-root]/config/packages` :

```
imports:
[...]
    - { resource: "@LyranetworkLyraPlugin/Resources/config/config.yaml" }

```

- Dump the autoload cache using the following command:

```
composer dump-autoload

```

- Open command line in Sylius root directory, and run the following commands to extract the translations for the plugin:

```
php bin/console translation:extract en LyranetworkLyraPlugin --dump-messages
php bin/console translation:extract fr LyranetworkLyraPlugin --dump-messages
php bin/console translation:extract es LyranetworkLyraPlugin --dump-messages
php bin/console translation:extract de LyranetworkLyraPlugin --dump-messages
php bin/console translation:extract pt LyranetworkLyraPlugin --dump-messages
php bin/console translation:extract br LyranetworkLyraPlugin --dump-messages

```

- Empty the cache with the following command:

```
php bin/console cache:clear

```

The plugin should be now available in the list of payment methods that you can create.

Configuration
-------------

[](#configuration)

In the Sylius administration interface:

- Go to `Configuration > Payment methods`.
- Click on `Create` button on the top right of the page to display the list of available payment methods.
- Choose `Payment by Lyra Collect` to add and configure it.
- You can now enter your Lyra Collect credentials and configure your payment method.
- Don't forget to give your payment method a code, to set the name in the language sections at the bottom and to save by clicking the `Create` button.

Uninstallation
--------------

[](#uninstallation)

### With composer

[](#with-composer-1)

```
composer remove lyranetwork/sylius-lyranetwork-plugin

```

### With module zip file

[](#with-module-zip-file)

- Delete LyranetworkLyra folder in your Sylius root folder
- Remove in file `sylius/composer.json`, in autoload psr-4 the line:

```
"Lyranetwork\\Lyra\\": "LyranetworkLyra/src/"

```

### Remove and revert changes

[](#remove-and-revert-changes)

- Remove the following line in **bundles.php** file located in `[sylius-root]/config/`:

```
Lyranetwork\Lyra\LyranetworkLyraPlugin::class => ['all' => true],

```

- Remove Lyra routes in **routes.yaml** file located in `[sylius-root]/config/`

```
 sylius_lyra:
    resource: "@LyranetworkLyraPlugin/Resources/config/routing.yaml"
```

- Remove Lyra config in \_**sylius.yaml** file located in `[sylius-root]/config/packages` :

```
imports:
[...]
    - { resource: "@LyranetworkLyraPlugin/Resources/config/config.yaml" }

```

- Open command line in Sylius root directory, and run the following commands:

```
composer dump-autoload
php bin/console cache:clear

```

License
-------

[](#license)

Each Lyra Collect payment module source file included in this distribution is licensed under the The MIT License (MIT).

Please see LICENSE.txt for the full text of the MIT license. It is also available through the world-wide-web at this URL: .

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance48

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/854964?v=4)[NathanD](/maintainers/NathanD)[@nathand](https://github.com/nathand)

---

Top Contributors

[![ndias-lyra](https://avatars.githubusercontent.com/u/290997565?v=4)](https://github.com/ndias-lyra "ndias-lyra (16 commits)")

### Embed Badge

![Health badge](/badges/nathand-sylius-lyranetwork-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/nathand-sylius-lyranetwork-plugin/health.svg)](https://phpackages.com/packages/nathand-sylius-lyranetwork-plugin)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)[patryqhyper/polish_payments_api

Library for polish payment providers

141.6k](/packages/patryqhyper-polish-payments-api)

PHPackages © 2026

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