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

ActiveSylius-plugin

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

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

3.0.0(3mo ago)015.9k↓32.1%2MITPHPPHP ^8.0

Since Jul 1Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/lyra/plugin-sylius)[ Packagist](https://packagist.org/packages/lyranetwork/sylius-lyranetwork-plugin)[ RSS](/packages/lyranetwork-sylius-lyranetwork-plugin/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (31)Versions (31)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-v3

```

- 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

48

—

FairBetter than 95% of packages

Maintenance86

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

14

Last Release

91d ago

Major Versions

1.3.2 → 2.0.02025-07-31

1.4.0 → 2.1.12025-09-29

1.4.1 → 3.0.02026-02-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/24f730847f514189be3e3dde5f83fb95ba99c53fb754a7cd8112f8d74046a632?d=identicon)[lyranetwork](/maintainers/lyranetwork)

---

Top Contributors

[![alima-grine-lyra](https://avatars.githubusercontent.com/u/244470789?v=4)](https://github.com/alima-grine-lyra "alima-grine-lyra (40 commits)")

---

Tags

syliussylius-plugin

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[dedi/sylius-seo-plugin

Sylius SEO plugin by Dedi.

28138.9k](/packages/dedi-sylius-seo-plugin)[tilleuls/sylius-click-n-collect-plugin

Click and Collect plugin for Sylius, to sell and deliver securely during the COVID-19 pandemic.

7814.2k](/packages/tilleuls-sylius-click-n-collect-plugin)[odiseoteam/sylius-report-plugin

Plugin for Sylius to make customizable reports.

3275.4k](/packages/odiseoteam-sylius-report-plugin)

PHPackages © 2026

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