PHPackages                             egoistdeveloper/dummy-vpos - 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. egoistdeveloper/dummy-vpos

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

egoistdeveloper/dummy-vpos
==========================

Dummy virtual POS screen integration for some weird testing cases

05Blade

Since Nov 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/relliv/dummy-vpos)[ Packagist](https://packagist.org/packages/egoistdeveloper/dummy-vpos)[ RSS](/packages/egoistdeveloper-dummy-vpos/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

dummy-vpos
==========

[](#dummy-vpos)

[![Stable Version](https://camo.githubusercontent.com/e97bb4fbb8be55788bec256bed6d13fce566362e449944d2d0f0b093f2104464/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f65676f697374646576656c6f7065722f64756d6d792d76706f733f6c6162656c3d737461626c65267374796c653d666c61742d737175617265)](https://packagist.org/packages/egoistdeveloper/dummy-vpos)[![Unstable Version](https://camo.githubusercontent.com/85afbac0745eb275d863cee4b1701a70c0e30315d27990b00f1abd553b8761e8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e737461626c652d6465762d2d6d61696e2d6f72616e67653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/egoistdeveloper/dummy-vpos)[![Total Downloads](https://camo.githubusercontent.com/763b5140c360c1fa7f1dce68e5715c241d62878a71e51f9842c3d86f0f9b5df5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65676f697374646576656c6f7065722f64756d6d792d76706f732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/egoistdeveloper/dummy-vpos)[![License](https://camo.githubusercontent.com/890fd1b63fb9869f9438f5e5a160e10fd5cacc9aad607a642f22e73644fb4f55/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f65676f697374646576656c6f7065722f64756d6d792d76706f732e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Dummy virtual POS integration for some weird testing cases.

For example some companies do not provide virtual pos in the test environment (there is only direct success or fail response). You can perform a virtual POS payment scenarios with fake integration.

**⚠️ Warning:** This package created only for synthetic testing purpose. Not included real payment methods and you must use only development environment.

Table of contents
-----------------

[](#table-of-contents)

- [dummy-vpos](#dummy-vpos)
    - [Table of contents](#table-of-contents)
    - [Requirements](#requirements)
    - [Installation](#installation)
    - [Usage](#usage)
    - [Demo](#demo)

Requirements
------------

[](#requirements)

- PHP 7.3 or higher
- Laravel 7.0 or higher

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

[](#installation)

To get the latest version of `dummy-vpos`, simply require the project using [Composer](https://getcomposer.org):

```
$ composer require egoistdeveloper/dummy-vpos
```

Publish service provider:

```
$ php artisan vendor:publish --provider="DummyVpos\ServiceProvider"
```

Usage
-----

[](#usage)

Grab your response parameters then build http query and redirect to `dummy-vpos.show` route.

```
$params = [
    'test' => true,
    'id' => hash('md5', time()),
    'name' => 'John Doe',
    'price' => 999.99,
    'successCallback' => route('success'),
    'errorCallback' => route('fail'),
    ...
];

$vposUrl = route('dummy-vpos.show') . '?' . http_build_query($params);
```

**successCallback**, **errorCallback** and **price** are required for testing. Also price should be bigger than 0.

After reached fake virtual pos screen there are four possibility.

- Success
- Fail
    - Wrong password
    - Cancelation
    - Timeout

All cases returns back to callback url (with sended parameters except callback urls) and success and fail code/messages can found be in `dummy-vpos.php` config file.

Demo
----

[](#demo)

[Example Project](https://github.com/EgoistDeveloper/dummy-vpos-example)

[![Demo](demo/demo.gif)](demo/demo.gif)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

dummydummy-datavpos

### Embed Badge

![Health badge](/badges/egoistdeveloper-dummy-vpos/health.svg)

```
[![Health](https://phpackages.com/badges/egoistdeveloper-dummy-vpos/health.svg)](https://phpackages.com/packages/egoistdeveloper-dummy-vpos)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M677](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M753](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

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

PHPackages © 2026

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