The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

Laravel Shopper: A Headless E-Commerce Admin Panel for Laravel

Last updated on by

Laravel Shopper: A Headless E-Commerce Admin Panel for Laravel image

Laravel Shopper is an open-source headless e-commerce administration panel built on the TALL stack (Tailwind, Alpine, Laravel, Livewire). Rather than shipping a pre-built storefront, it focuses entirely on the back-office side — product catalogue, orders, customers, discounts, and team management — leaving you free to build the customer-facing frontend with whatever technology fits your project: React, Vue, Svelte, server-rendered Blade, or anything else.

Installation

Shopper requires Laravel 11+ and PHP 8+. Install the package and run the installer:

composer require shopper/framework
php artisan shopper:install

The install command runs migrations, seeds initial data, and sets up storage symlinks. Once that's done, create your first admin user:

php artisan shopper:user

You'll be prompted for a name, email, and password. The dashboard is then accessible at /cpanel/login.

What's in the Box

Products & Catalog

The catalogue system is built around products, variants, attributes, categories, collections, and brands. Products support multiple variants with independent pricing, inventory tracking, and image galleries. Collections work similarly to categories but are more flexible — you can add products to them explicitly or define criteria-based rules for automatic inclusion.

Orders

The order management interface provides a unified view of each order's lifecycle, including payment status, shipping details, and fulfilment. Store admins can process orders, update tracking information, and manage refunds from a single dashboard.

Customers

Customer profiles include purchase history, saved addresses, and contact information. The reviews module ties into this, letting customers leave feedback on products that admins can moderate.

Discounts

Discount codes support configurable conditions such as minimum order amounts, usage limits, and expiration dates. This covers common promotional scenarios without needing a separate plugin.

Roles & Permissions

Team access is managed through a role-based permission system. You can create staff accounts with scoped access — useful when you want your warehouse team to see orders and inventory but not pricing or discount configuration.

Two-Factor Authentication

Built-in 2FA is available for admin accounts, adding a second layer of security to the control panel without any extra setup.

Payment Gateway Integration

Shopper ships with a Stripe integration out of the box and a manual driver for cash-on-delivery or pay-in-person scenarios. The Stripe driver handles the full payment lifecycle — initiating a PaymentIntent, authorising, capturing, refunding, cancelling, and processing webhooks.

Configuration

The installer creates a config/shopper/ directory with separate files for admin settings, authentication, models, routes, and media. A few commonly adjusted options in config/shopper/admin.php:

'prefix' => env('SHOPPER_PREFIX', 'cpanel'),
 
'pages' => [
'namespace' => 'App\\Livewire\\Shopper',
'view_path' => resource_path('views/livewire/shopper'),
],
 
'brand' => null, // path to your logo, e.g. '/images/logo.svg'
'favicon' => null,
 
'locales' => [
'en' => ['label' => 'English', 'flag' => 'gb'],
'fr' => ['label' => 'Français', 'flag' => 'fr'],
],

The prefix key controls the URL segment for the entire admin panel. The pages key sets the namespace and view path for custom Livewire pages you add to the control panel.

Store-level settings — shop name, currency, address, social links — are stored in a Setting model and cached for one day. A shopper_setting() helper retrieves any value by key:

$currency = shopper_setting('shop_currency'); // e.g., "USD"
$storeName = shopper_setting('shop_name');

Extending the Control Panel

Shopper is designed to be extended rather than forked. The config/shopper/components/ directory contains a separate file for each entity (products, orders, customers, etc.), letting you swap out any default Livewire component with your own implementation on a per-resource basis.

Navigation items can also be extended via a service provider, allowing you to add entries to the sidebar without touching the package source.

Starter Kits

If you'd rather not build the storefront from scratch, Shopper offers official starter kits that give you a working storefront to get started. The Livewire starter kit is available now, built with Livewire 3, Flux UI, and Tailwind CSS v4 — covering product browsing, cart management, multi-step checkout with Stripe, customer accounts, and multi-currency support. An Inertia starter kit supporting Vue and React is currently in development.

Install a kit with:

php artisan shopper:kit:install shopper/livewire-starter-kit

The command backs up your project, validates version requirements, copies the kit files, and installs dependencies. The code is yours to modify fully from there.

AI-Ready with Laravel Boost

Shopper ships with built-in Laravel Boost support, providing three specialised skills that help AI agents understand the codebase from the first prompt. When installed, Boost detects the guidelines and skills automatically — no extra configuration needed:

  • shopper-development — coding standards, model patterns, and conventions
  • shopper-livewire — Livewire components with Filament Forms & Tables
  • extending-shopper — sidebar, events, overrides, and customisation

Works with Claude Code, Cursor, Windsurf, GitHub Copilot, and any other tool that supports Laravel Boost.

You can find the source on GitHub and the full documentation at docs.laravelshopper.dev.

Yannick Lyn Fatt photo

Staff Writer at Laravel News and Full stack web developer.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

image
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit

The latest

View all →
Laravel Brain: Visualize Your Application's Request Lifecycle image

Laravel Brain: Visualize Your Application's Request Lifecycle

Read article
Chevere Workflow: A Declarative PHP Workflow Engine with Async Job Execution image

Chevere Workflow: A Declarative PHP Workflow Engine with Async Job Execution

Read article
Laravel Schema Sentinel: Detect and Fix Database Schema Drift image

Laravel Schema Sentinel: Detect and Fix Database Schema Drift

Read article
Laravel Web Push Notifications image

Laravel Web Push Notifications

Read article
RedBerry to Host Georgia's First Laravel Meetup in Tbilisi image

RedBerry to Host Georgia's First Laravel Meetup in Tbilisi

Read article
Interruptible Jobs in Laravel 13.7.0 image

Interruptible Jobs in Laravel 13.7.0

Read article