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. hashandsalt/lemonsqueezy

ActiveKirby-plugin

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 1mo ago

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 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity35

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

1146d 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.5k535.5k350](/packages/getkirby-cms)[distantnative/retour-for-kirby

Manage redirects and track 404s right from the Kirby CMS Panel

14689.4k1](/packages/distantnative-retour-for-kirby)[arnoson/kirby-vite

Vite helper for Kirby CMS

9759.2k3](/packages/arnoson-kirby-vite)[getkirby/staticache

Static site performance on demand

9615.4k](/packages/getkirby-staticache)[fabianmichael/kirby-meta

Your all-in-one powerhouse for any SEO and metadata needs imaginable.

6910.7k1](/packages/fabianmichael-kirby-meta)[thathoff/kirby-oauth

Kirby OAuth 2 Plugin

3823.9k](/packages/thathoff-kirby-oauth)

PHPackages © 2026

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