PHPackages                             lightningsdk/checkout - 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. lightningsdk/checkout

ActiveLibrary

lightningsdk/checkout
=====================

Adds Ecommerce system.

06PHP

Since Jun 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/LightningSDK/Checkout)[ Packagist](https://packagist.org/packages/lightningsdk/checkout)[ RSS](/packages/lightningsdk-checkout/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Lightning-Checkout: Integrated Shopping Cart for Lightning
==========================================================

[](#lightning-checkout-integrated-shopping-cart-for-lightning)

What it does
============

[](#what-it-does)

Multi-item shopping cart Multiple options and conditional options for items. Does not include payment processing, that is done through integrated modules: Lightning-Stripe Available order fulfillment modules: Lightning-GoShippo Lightning-ThePrintful

Installation and Configuration
==============================

[](#installation-and-configuration)

```
$conf = [
    'modules' => [
        'checkout' => [
            // The payment handler class.
            // This may be added by the payment handler's own module.
            // In the future, this will be an array or a string that
            // can accept multiple payment handlers.
            'handler' => \Payment\Handler::class,

            // Allow an option to enter discount codes in the
            // shopping cart view.
            'enable_discounts' => false,
        ],
    ]
];

```

Adding to a page
================

[](#adding-to-a-page)

You can add checkout buttons simply by adding markup to a span element. The `checkout-product` class must be present on all elements to activate the click listener. All other options are specified via data attributes.

```
Buy Now

```

The following fields are available:

- data-checkout-product-id Mandatory: the id of the product to buy. This can be a single purchase or a subscription.
- data-checkout Optional Values: `buy-now` (default) - Takes the user directly to payment `add-to-cart` - Adds to a shopping cart displayed in a modal, so the user can continue shopping.
- data-create-customer Optional Values: `false` (default) `true` - Whather to save the user's card information for future billing
- data-redirect
- data-title
- data-amount
- shipping-address

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1879e80f3bbcd9374022ed906ac57c819a2702bb71cf64724a4154f330b5ef89?d=identicon)[macdabby](/maintainers/macdabby)

---

Top Contributors

[![macdabby](https://avatars.githubusercontent.com/u/176957?v=4)](https://github.com/macdabby "macdabby (170 commits)")

### Embed Badge

![Health badge](/badges/lightningsdk-checkout/health.svg)

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

PHPackages © 2026

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