Lunar is a modular PHP e-commerce framework and headless commerce engine designed to manage the backend logic and data models of an online store. It provides a decoupled infrastructure that separates business logic from the presentation layer, allowing for the orchestration of digital storefronts via an API.
The system is distinguished by its headless-first approach and a dedicated toolkit for building customized administration interfaces using pre-made components and widgets. It supports complex global operations through a multilingual commerce system that handles regional storefront configurations, multiple currencies, and geographic shipping rules.
The framework covers a comprehensive suite of commerce capabilities, including hierarchical product cataloging with custom attribute mapping, shopping cart and checkout coordination, and event-driven order lifecycle tracking. It also incorporates identity and access management through role-based permissions and multi-factor authentication for staff, alongside logistics tools for shipping rate calculation and inventory fulfillment.
The project includes a utility to export structured technical documentation to assist large language models in understanding the project context.