PHPackages                             hashandsalt/lemonsqueezy - 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. [API Development](/categories/api)
4. /
5. hashandsalt/lemonsqueezy

ActiveKirby-plugin[API Development](/categories/api)

hashandsalt/lemonsqueezy
========================

Lemon Squeezy E-Commerce plugin

0.6.0.0(3y ago)88MITPHP

Since Mar 19Pushed 3y ago2 watchersCompare

[ Source](https://github.com/HashandSalt/kirby3-lemonsqueezy)[ Packagist](https://packagist.org/packages/hashandsalt/lemonsqueezy)[ RSS](/packages/hashandsalt-lemonsqueezy/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

WARNING This plugin is shiny new beta! Use with caution and please feedback any issues via Github issues if you have any problems.
==================================================================================================================================

[](#warning-this-plugin-is-shiny-new-beta-use-with-caution-and-please-feedback-any-issues-via-github-issues-if-you-have-any-problems)

Kirby3 Lemon Squeezy
====================

[](#kirby3-lemon-squeezy)

A plugin for working with the Lemon Squeezy API.

Features

- Fetch Store(s)
- Fetch Product(s)
- Turns products into virtual pages

ææ Install

```
composer require hashandsalt/lemonsqueezy

```

You can also install manually by placing the folder inside your plugins folder.

Config
------

[](#config)

Add your API keys to the `Config.php`

```
// API Keys
'hashandsalt.lemonsqueezy.testmode' => true, // flick to false in to use the live API
'hashandsalt.lemonsqueezy.testapikey' => 'XXX',
'hashandsalt.lemonsqueezy.liveapikey' => 'XXX'

```

Change the default template and model for the virtual pages (optional)

```
// Virtual Pages
'hashandsalt.lemonsqueezy.template' => 'products',
'hashandsalt.lemonsqueezy.model' => 'products',

```

Usage
-----

[](#usage)

### Fetching store data

[](#fetching-store-data)

An array of all stores

```
$stores = $site->stores();

```

A specific store by ID

```
$store = $site->store('11087');

```

### Fetching product data

[](#fetching-product-data)

An array of all products

```
$products = $site->products();

```

A specific product by ID

```
$product = $site->product('22352');

```

Virtual Pages
-------------

[](#virtual-pages)

Available fields in the virtual pages

```
'title'             => $productitem->attributes->name,
'description'       => $productitem->attributes->description,
'product_status'    => $productitem->attributes->status,
'thumb_url'         => $productitem->attributes->thumb_url,
'large_thumb_url'   => $productitem->attributes->large_thumb_url,
'price'             => $productitem->attributes->price,
'formatted_price'   => $productitem->attributes->price_formatted,
'buy_now_url'       => $productitem->attributes->buy_now_url

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1202d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d18b7200637c15341417dfabb7c51c7ec3fda44f6a24cb4780b5e7c14f309118?d=identicon)[hashandsalt](/maintainers/hashandsalt)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hashandsalt-lemonsqueezy/health.svg)

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

###  Alternatives

[getkirby/cms

The Kirby core

1.5k584.8k472](/packages/getkirby-cms)[getkirby/kql

Kirby Query Language

15027.0k](/packages/getkirby-kql)[medienbaecker/kirby-modules

Easily add modules to your pages

895.5k1](/packages/medienbaecker-kirby-modules)[johannschopplich/kirby-headless

API-first toolkit for Kirby CMS

4316.3k](/packages/johannschopplich-kirby-headless)[johannschopplich/kirby-content-translator

DeepL &amp; AI-powered content translation for Kirby CMS

2010.8k](/packages/johannschopplich-kirby-content-translator)[medienbaecker/kirby-alter

242.1k](/packages/medienbaecker-kirby-alter)

PHPackages © 2026

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