Build Amazing Online Stores in Laravel

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

Lunar - Admin Hub

Storefront Flexibility

Freedom to build what you need

Lunar’s headless approach to e-commerce gives you the freedom to build the best user experience for your customers.

Storefront API

Power your JavaScript storefront or mobile app via Lunar's RESTful JSON:API.

Coming Soon
E-Commerce Engine

Based around Laravel Eloquent models, the e-commerce core provides all the functionality you need to create an online store.

Administration Hub

Manage your catalogue, customers and orders in our modern and extendable admin area, built in Laravel Livewire.

Storefront API

Power your JavaScript storefront or mobile app via Lunar's RESTful JSON:API.

Coming Soon
E-Commerce Engine

Based around Laravel Eloquent models, the e-commerce core provides all the functionality you need to create an online store.

Lunar has proven to be the perfect platform on which to build e-commerce stores for our clients. With well thought out, extendable models and an incredible admin hub its a great launch pad for any custom client requirements.

Ryan Mitchell - Digital Director, Thought Collective
Ryan Mitchell

Digital Director, Thought Collective

Installation

Only a few simple steps...

And you will have a powerful e-commerce system ready to build upon.

composer require lunarphp/lunar

php artisan lunar:install

Read the documentation for full installation instructions.

Coding

Develop with familiarity

Lunar is built around Laravel Eloquent models. As a Laravel developer you will be at home creating storefront functionality.

$url = Url::whereElementType($type)
            ->whereSlug($slug)
            ->with($eagerLoad)
            ->first();

$product = $url->element;

if ($product->status !== 'published') {
    return abort(404);
}

Read the reference to learn more about Lunar models and managers.

Features

Lunar is jam-packed with all the e-commerces functionality you need to maintain your product catalogue and process orders.

Interested in all news Lunar?

Get the latest Lunar news right to your inbox.

Ready to build your next online store?

FAQs

Why use Lunar?

Is Lunar Free to Use?

Yes! Lunar is open source and free to use. We will be releasing some premium offerings down the line, but the core product will always be free.

Do I have to use Livewire?

Lunar's admin hub uses Livewire, however, you are free to build your storefront in any technology.

Why would I use Lunar rather than Shopify etc.?

Lunar provides more flexibility and control when compared to other closed source or older PHP platforms, and being a Laravel package you naturally get all the benefits of the best PHP framework.

Where is the storefront?

Lunar is a headless e-commerce solution and currently offers a demo store for reference. In the future we intend to release starter kits for popular frontend stacks such as Livewire, Inertia.js, Next.js, etc.

Can I connect my iOS / Android App to Lunar?

We have a frontend API in development which will allow for this. In the meantime, you are free to make your own custom API endpoints using the Lunar core.