PHPackages                             mediabeastnz/commerce-laybuy - 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. mediabeastnz/commerce-laybuy

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

mediabeastnz/commerce-laybuy
============================

Laybuy integration for Craft Commerce 2

1.0.4.1(7y ago)09[1 issues](https://github.com/mediabeastnz/commerce-laybuy/issues)proprietaryPHP

Since Feb 9Pushed 7y agoCompare

[ Source](https://github.com/mediabeastnz/commerce-laybuy)[ Packagist](https://packagist.org/packages/mediabeastnz/commerce-laybuy)[ RSS](/packages/mediabeastnz-commerce-laybuy/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (2)Versions (6)Used By (0)

[![Laybuy for Craft Commerce icon](./src/icon.svg)](./src/icon.svg)

Laybuy for Craft Commerce 2
===========================

[](#laybuy-for-craft-commerce-2)

This plugin provides an [Laybuy](https://www.laybuy.com) integration for [Craft Commerce](https://craftcms.com/commerce).

Requirements
------------

[](#requirements)

This plugin requires Craft Commerce 2.0.0 or later.

Setup
-----

[](#setup)

In order for this gateway to work, the Craft config setting `tokenParam` must be changed to something other than the word 'token'. Craft looks for this querystring internally and it just so happens Laybuy returns the same word when returning to the merchant site. Simply add this (or whatever word you prefer) to your `general.php`.

```
'*' => [
    // Token querystring
    'tokenParam' => 'crafttoken'
]
```

To add Laybuy as a gateway, go to Commerce → Settings → Gateways, create a new gateway, and set the gateway type to "Laybuy". You can either choose to set the gateway configuration in the CMS or use a config file instead. Learn more about that [here](https://docs.craftcms.com/commerce/v2/gateway-config.html#gateway-configuration)

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

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

#### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project’s Control Panel and search for "Laybuy". Then click on the "Install" button in its modal window.

#### With Composer

[](#with-composer)

Open your terminal and run the following commands:

```
# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require mediabeastnz/commerce-laybuy

# tell Craft to install the plugin
./craft install/plugin commerce-laybuy
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

5

Last Release

2639d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e4d1e3c7076289316ec631e25f7d4b76636a8ba36ce4f6d90461ff6a9fa002d?d=identicon)[mediabeast](/maintainers/mediabeast)

---

Top Contributors

[![mylesthedev](https://avatars.githubusercontent.com/u/909749?v=4)](https://github.com/mylesthedev "mylesthedev (10 commits)")

---

Tags

yii2gatewayomnipaycraftcmscommercelaybuylay buy

### Embed Badge

![Health badge](/badges/mediabeastnz-commerce-laybuy/health.svg)

```
[![Health](https://phpackages.com/badges/mediabeastnz-commerce-laybuy/health.svg)](https://phpackages.com/packages/mediabeastnz-commerce-laybuy)
```

###  Alternatives

[craftcms/commerce-stripe

Stripe integration for Craft Commerce 5.0+

32157.4k3](/packages/craftcms-commerce-stripe)

PHPackages © 2026

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