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.2(3mo ago)07MITPHPPHP ^8.2

Since Mar 28Pushed 3mo 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 3w ago

READMEChangelogDependencies (18)Versions (4)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 81% of packages

Maintenance82

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

Every ~0 days

Total

3

Last Release

91d 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

[unopim/unopim

UnoPim Laravel PIM

10.3k2.2k](/packages/unopim-unopim)[bagisto/bagisto

Bagisto Laravel E-Commerce

27.4k169.0k9](/packages/bagisto-bagisto)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8219.1M69](/packages/orchestra-workbench)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[hotmeteor/spectator

Testing helpers for your OpenAPI spec

3051.5M1](/packages/hotmeteor-spectator)[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.4k](/packages/typicms-base)

PHPackages © 2026

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