PHPackages                             lunarphp/demo-data - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lunarphp/demo-data

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lunarphp/demo-data
==================

Lunar demo data seeder

2.x-dev(today)00MITPHPPHP ^8.4

Since Jul 1Pushed today1 watchersCompare

[ Source](https://github.com/lunarphp/demo-data)[ Packagist](https://packagist.org/packages/lunarphp/demo-data)[ RSS](/packages/lunarphp-demo-data/feed)WikiDiscussions 2.x Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Lunar Demo Data
===============

[](#lunar-demo-data)

Seeds a coherent, reproducible demo store — catalogue, customers, and orders spanning the full order lifecycle — for evaluation, screenshots, and admin verification. Data only; there is no storefront UI.

> This is a **development/showcase** tool, not part of Lunar's public contract surface. Its generators and seeders may change shape between versions without a Rector rule or upgrade path.

Install
-------

[](#install)

It is a **dev-only** dependency — install it under `require-dev` so a production `composer install --no-dev` omits it entirely:

```
composer require --dev lunarphp/demo-data
```

Usage
-----

[](#usage)

```
php artisan lunar:demo-data            # seed at the default scale
php artisan lunar:demo-data --scale=medium
php artisan lunar:demo-data --fresh    # wipe demo-owned tables, then seed
php artisan lunar:demo-data --force    # required to run in a production environment
```

The command refuses to run in production without `--force`, mirroring Laravel's own `migrate:fresh` / `db:wipe`. Without `--fresh` it is a no-op once the store is seeded; use `--fresh` to wipe the demo-owned tables and rebuild.

Seeding is reproducible at the structural level — the same scale always yields the same catalogue, the same order coverage, and the same counts (faker is seeded from a fixed value in `config/demo-data.php`). Cosmetic faker output (customer names, addresses) is best-effort: the framework draws from the global RNG stream mid-seed, so those values are not byte-identical between runs.

`DemoDataSeeder` is also callable from a host `DatabaseSeeder`:

```
$this->call(\Lunar\DemoData\Database\Seeders\DemoDataSeeder::class);
```

Configuration
-------------

[](#configuration)

Publish the config to tune the faker seed, per-scale volumes, currencies, and the media disk:

```
php artisan vendor:publish --tag=lunar.demo-data
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/112434999?v=4)[Lunar - Headless E-Commerce for Laravel](/maintainers/lunarphp)[@lunarphp](https://github.com/lunarphp)

---

Top Contributors

[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (1 commits)")[![glennjacobs](https://avatars.githubusercontent.com/u/647407?v=4)](https://github.com/glennjacobs "glennjacobs (1 commits)")

---

Tags

laravelheadlessshopecommercestoree-commercedemoseedlunar

### Embed Badge

![Health badge](/badges/lunarphp-demo-data/health.svg)

```
[![Health](https://phpackages.com/badges/lunarphp-demo-data/health.svg)](https://phpackages.com/packages/lunarphp-demo-data)
```

###  Alternatives

[lunarphp/stripe

Stripe payment driver for Lunar.

2069.9k4](/packages/lunarphp-stripe)[getcandy/core

GetCandy Laravel e-commerce core functionality.

156.7k3](/packages/getcandy-core)

PHPackages © 2026

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