PHPackages                             romansh/laravel-creem-store-simulator - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. romansh/laravel-creem-store-simulator

ActiveProject[Testing &amp; Quality](/categories/testing)

romansh/laravel-creem-store-simulator
=====================================

Standalone Creem API simulator for local testing of laravel-creem, laravel-creem-cli and laravel-creem-agent packages.

v1.0.0(1mo ago)00MITPHPPHP ^8.2

Since Mar 28Pushed 1mo agoCompare

[ Source](https://github.com/romansh/laravel-creem-store-simulator)[ Packagist](https://packagist.org/packages/romansh/laravel-creem-store-simulator)[ RSS](/packages/romansh-laravel-creem-store-simulator/feed)WikiDiscussions main Synced 1mo ago

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

Creem Store Simulator
=====================

[](#creem-store-simulator)

Standalone Laravel application that simulates the subset of the [Creem](https://creem.io) payment API used by:

- [`romansh/laravel-creem`](https://github.com/romansh/laravel-creem)
- [`romansh/laravel-creem-cli`](https://github.com/romansh/laravel-creem-cli)
- [`romansh/laravel-creem-agent`](https://github.com/romansh/laravel-creem-agent)

The goal is deterministic local testing for agent demos and heartbeat logic.

Installation
------------

[](#installation)

```
composer create-project romansh/laravel-creem-store-simulator
cd laravel-creem-store-simulator
cp .env.example .env
php artisan key:generate
php artisan migrate --seed
```

Capabilities
------------

[](#capabilities)

- Creem-like HTTP endpoints under `/api/v1`
- Search endpoints such as `/subscriptions/search` and `/transactions/search`
- Multi-store resolution by `x-api-key`
- SQLite-backed products, customers, subscriptions, transactions, and checkouts
- Demo seeders and scenario commands
- Optional signed webhook delivery into an agent app
- FrankenPHP-friendly runtime

List responses mirror Creem pagination and include `items`, `pagination`, and a compatibility `total` alias.

Quick start
-----------

[](#quick-start)

```
cp .env.example .env
sqlite_db="${DB_DATABASE:-database/database.sqlite}" && mkdir -p "$(dirname "$sqlite_db")" && touch "$sqlite_db"
php artisan key:generate
php artisan migrate --seed
php artisan serve --host=0.0.0.0 --port=80
```

Point your agent app to the simulator:

```
CREEM_TEST_MODE=true
CREEM_API_KEY=creem_test_demo_default
CREEM_WEBHOOK_SECRET=whsec_demo_default
CREEM_TEST_API_URL=http://simulator:80/api/v1
CREEM_API_URL=http://simulator:80/api/v1
```

Main commands
-------------

[](#main-commands)

- `php artisan simulator:seed-demo` — create a realistic baseline dataset
- `php artisan simulator:advance` — append fresh activity for the next heartbeat cycle
- `php artisan simulator:send-webhook payment.failed` — push a signed webhook to the configured agent app

Docker
------

[](#docker)

See the [laravel-creem-agent-demo](https://github.com/romansh/laravel-creem-agent-demo) repository for a Docker Compose setup that runs this simulator alongside the agent app.

Testing
-------

[](#testing)

```
php artisan test
```

License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b453f266005966bf6243a4834c93882f8c2de3e66194f8d086dc7484db29e7cb?d=identicon)[romansh](/maintainers/romansh)

---

Top Contributors

[![romansh](https://avatars.githubusercontent.com/u/10420314?v=4)](https://github.com/romansh "romansh (4 commits)")

---

Tags

testinglaravelpaymentscreemsimulator

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/romansh-laravel-creem-store-simulator/health.svg)

```
[![Health](https://phpackages.com/badges/romansh-laravel-creem-store-simulator/health.svg)](https://phpackages.com/packages/romansh-laravel-creem-store-simulator)
```

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8017.0M43](/packages/orchestra-workbench)[hotmeteor/spectator

Testing helpers for your OpenAPI spec

3021.4M1](/packages/hotmeteor-spectator)[guanguans/laravel-soar

SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。

2227.8k](/packages/guanguans-laravel-soar)[spurwork/spectator

Testing helpers for your OpenAPI spec

3021.5k](/packages/spurwork-spectator)

PHPackages © 2026

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