# lunarphp/lunar

An open-source package that brings the power of modern headless e-commerce functionality to Laravel.

Repository: https://github.com/lunarphp/lunar
Canonical: https://ross.abutalabs.com/products/lunarphp-lunar
Homepage: https://lunarphp.com
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, ecommerce, headless, e-commerce, php, filamentphp
Last push: 2026-08-26T22:13:20+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 1716, "days_push": 7, "days_rel": 7, "gap_med": 25.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3700, forks 504 (observed 2026-08-28T04:08:14.805814+00:00)

## What it is
Lunar is an open-source headless e-commerce package for Laravel, providing product catalogs, carts, orders, payments, discounts, and taxation as Eloquent-based Composer packages. It includes a Filament-built admin panel while leaving full control of the storefront to the developer.

## Use cases
- build a headless online store with Laravel
- self-hosted Shopify alternative in PHP
- manage products and orders via an admin panel
- implement cart and checkout pipelines in Laravel
- add discounts and taxation logic to a Laravel shop
- integrate Stripe or PayPal payments into a Laravel storefront

## When to choose
- you are a Laravel developer wanting full code and data ownership of your store
- you need a headless commerce backend with a ready-made admin panel
- you want Eloquent models and Laravel conventions instead of an external SaaS API

## When to avoid
- you want a turnkey hosted storefront with no development
- your stack is not PHP/Laravel
- you need a standalone e-commerce application rather than a package embedded in a Laravel app

## Facets
- artifact type: library
- maturity: active
- function: web-framework, api-framework, ui-components, search-engine, middleware
- domain: e-commerce, web-development, backend, self-hosted
- platform: php, self-hosted
- tags: headless-commerce, laravel-package, filament-admin, shopping-cart, order-management, payments, monorepo, laravel, web-server

## Member repositories
- lunarphp/lunar (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:14.805814+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:03.211297+00:00, confidence not recorded.
  - readme: https://github.com/lunarphp/lunar (fetched 2026-08-28T04:08:14.805814+00:00, sha f5d0bbed6a8e)
  - homepage: https://lunarphp.com (fetched 2026-08-29T09:24:41.792195+00:00, sha ffd6de33e279)
  - site_page: https://docs.lunarphp.com/ (fetched 2026-08-29T09:24:41.794874+00:00, sha a018ef98097d)
  - site_page: https://docs.lunarphp.com/1.x/getting-started/overview/contributing (fetched 2026-08-29T09:24:41.796642+00:00, sha a90a5b72f7f3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
