PHPackages                             truelayer/magento2 - 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. truelayer/magento2

ActiveMagento2-module

truelayer/magento2
==================

TrueLayer extension for Magento 2

v2.4.2(1y ago)212.6k↓46.7%7[3 PRs](https://github.com/TrueLayer/magento2/pulls)OSL-3.0PHPPHP &gt;=8.1.0CI passing

Since Apr 18Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/TrueLayer/magento2)[ Packagist](https://packagist.org/packages/truelayer/magento2)[ RSS](/packages/truelayer-magento2/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (39)Used By (0)

TrueLayer for Magento® 2
========================

[](#truelayer-for-magento-2)

The TrueLayer plugin makes it effortless to connect your Magento® 2 catalog with the TrueLayer Payment Services.

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

[](#installation)

Before you start the installation process, we recommend that you make a backup of your store, as well as the database.

You can use Composer to install this package. First, check if your server has Composer installed by running the following command:

```
composer –v

```

If your server doesn't have composer installed, you can easily install by following the instructions here:

You can then install this Magento® 2 extension through Composer:

1. Connect to your server running Magento® 2 using SSH or other method (make sure you have access to the command line).
2. Locate your Magento® 2 project root.
3. Install the extension through composer:

```
composer require truelayer/magento2

```

4. Once completed run the following commands:

```
bin/magento module:enable TrueLayer_Connect
bin/magento setup:upgrade
bin/magento cache:flush

```

6. If Magento® is running in production mode you also need to redeploy the static content:

```
bin/magento setup:static-content:deploy

```

7. After the installation, go to your Magento® admin portal and open ‘Stores’ &gt; ‘Configuration’ &gt; ‘Sales’ &gt; ‘TrueLayer’.
8. It's recommended that you also enable the cache for TrueLayer. There's two ways you can do this.
    1. In your Magento® admin portal open ‘System‘ &gt; ‘Cache Management‘, click the checkbox for TrueLayer, select ‘Enable‘ from ‘Actions‘, and click ‘Submit‘.
    2. On your server running Magento® 2 run the following command from the command line: `bin/magento cache:enable truelayer`

Local development
=================

[](#local-development)

A basic docker-compose configuration is provided to make local development easier. To start it, run the following:

```
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker-compose up
```

You can login as an admin user at  using the following credentials:

UsernamePasswordexampleuserexamplepassword123Testing webhooks
================

[](#testing-webhooks)

Webhook signature includes the path so make sure the webhook URL is configured in your Console and the path is set to rest/V1/webhook/transfer. The domain does not matter, as we will be using `truelayer-cli` to forward webhooks.

Run the following to forward webhooks to your local instance:

```
docker run --network="host" truelayer/truelayer-cli route-webhooks --to-addr http://localhost:1234/rest/V1/webhook/transfer --client-secret  --client-id

```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance56

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~70 days

Total

11

Last Release

425d ago

Major Versions

1.0.11 → 2.0.02024-06-19

PHP version history (2 changes)1.0.4PHP &gt;=7.4.0

v2.4.1PHP &gt;=8.1.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/98873?v=4)[Lee Boynton](/maintainers/lboynton)[@lboynton](https://github.com/lboynton)

![](https://avatars.githubusercontent.com/u/9030768?v=4)[Stefan Danaita](/maintainers/stefandanaita)[@stefandanaita](https://github.com/stefandanaita)

![](https://avatars.githubusercontent.com/u/1301561?v=4)[Alexandru Lighezan](/maintainers/lighe)[@lighe](https://github.com/lighe)

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

---

Top Contributors

[![lighe](https://avatars.githubusercontent.com/u/1301561?v=4)](https://github.com/lighe "lighe (48 commits)")[![artyom-jaksov-tl](https://avatars.githubusercontent.com/u/171248816?v=4)](https://github.com/artyom-jaksov-tl "artyom-jaksov-tl (12 commits)")[![Marvin-Magmodules](https://avatars.githubusercontent.com/u/20815641?v=4)](https://github.com/Marvin-Magmodules "Marvin-Magmodules (12 commits)")[![lboynton](https://avatars.githubusercontent.com/u/98873?v=4)](https://github.com/lboynton "lboynton (6 commits)")[![stefandanaita](https://avatars.githubusercontent.com/u/9030768?v=4)](https://github.com/stefandanaita "stefandanaita (1 commits)")[![tl-szilard-domotor](https://avatars.githubusercontent.com/u/165903531?v=4)](https://github.com/tl-szilard-domotor "tl-szilard-domotor (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/truelayer-magento2/health.svg)

```
[![Health](https://phpackages.com/badges/truelayer-magento2/health.svg)](https://phpackages.com/packages/truelayer-magento2)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[pagbank/payment-magento

PagBank - Payment for Magento and Adobe

2128.3k7](/packages/pagbank-payment-magento)[o2ti/sigep-web-carrier

O2TI - Sigep Web Carrier

141.5k](/packages/o2ti-sigep-web-carrier)

PHPackages © 2026

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