PHPackages                             davidjeddy/stripe-command-bus-interface - 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. [Payment Processing](/categories/payments)
4. /
5. davidjeddy/stripe-command-bus-interface

ArchivedLibrary[Payment Processing](/categories/payments)

davidjeddy/stripe-command-bus-interface
=======================================

Stripe Command Bus Interface

0.0.6(8y ago)06MITPHPPHP ^7

Since Jul 11Pushed 3w ago3 watchersCompare

[ Source](https://github.com/davidjeddy/stripe-command-bus-interface)[ Packagist](https://packagist.org/packages/davidjeddy/stripe-command-bus-interface)[ Docs](https://github.com/davidjeddy/stripe-command-bus-interface#readme)[ RSS](/packages/davidjeddy-stripe-command-bus-interface/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (13)Used By (0)

Stripe Command Bus Interface
============================

[](#stripe-command-bus-interface)

Badges
------

[](#badges)

[![Build Status](https://camo.githubusercontent.com/e7db89b3e80cde41040e9133b132405ed11bc299c1d0b36fcc050749198c2437/68747470733a2f2f7472617669732d63692e6f72672f64617669646a656464792f7374726970652d636f6d6d616e642d6275732d696e746572666163652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/davidjeddy/stripe-command-bus-interface)[![Latest Stable Version](https://camo.githubusercontent.com/60419d9716b6d0cf27e4279276be3b37c23bb07434748aecb0379df3147cf2b6/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f7374726970652d636f6d6d616e642d6275732d696e746572666163652f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/davidjeddy/stripe-command-bus-interface)[![Total Downloads](https://camo.githubusercontent.com/8b329897bd83a4a50169833bca67f7ce9ed6e867f914bb9403ce464a49c4a093/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f7374726970652d636f6d6d616e642d6275732d696e746572666163652f646f776e6c6f616473)](https://packagist.org/packages/davidjeddy/stripe-command-bus-interface)[![Latest Unstable Version](https://camo.githubusercontent.com/2600961a18d70aa3264c9620085a5e38a9c3cf2e923217f6a9e7320bcf69d13e/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f7374726970652d636f6d6d616e642d6275732d696e746572666163652f762f756e737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/davidjeddy/stripe-command-bus-interface)[![License](https://camo.githubusercontent.com/128b90145296fb450784731c4b1c91587e896bf6c82c62ce2a47a7adbe6efe75/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f7374726970652d636f6d6d616e642d6275732d696e746572666163652f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/davidjeddy/stripe-command-bus-interface)[![Monthly Downloads](https://camo.githubusercontent.com/e4379c84a0612c4aafa353bfe2962b3afaa782bc11686c19fb582097fdec4734/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f7374726970652d636f6d6d616e642d6275732d696e746572666163652f642f6d6f6e74686c793f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/davidjeddy/stripe-command-bus-interface)[![Daily Downloads](https://camo.githubusercontent.com/5b01bd5773f7fe0912a9e6f32ab374a73304b93dad05e528827a81847a18c191/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f7374726970652d636f6d6d616e642d6275732d696e746572666163652f642f6461696c793f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/davidjeddy/stripe-command-bus-interface)[![composer.lock](https://camo.githubusercontent.com/d0cd134466f9006f752db1c916fd2aa3321ad2fd8eada336a0439bb589cad8ad/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f7374726970652d636f6d6d616e642d6275732d696e746572666163652f636f6d706f7365726c6f636b3f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/davidjeddy/stripe-command-bus-interface)[![codecov](https://camo.githubusercontent.com/b71983e8ff34c8069398564795b1a1accc301979944ee7b90d8212896a4689f4/68747470733a2f2f636f6465636f762e696f2f67682f64617669646a656464792f7374726970652d636f6d6d616e642d6275732d696e746572666163652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/davidjeddy/stripe-command-bus-interface)[![Maintainability](https://camo.githubusercontent.com/2d5a0fa976601441b098a20eec3ea8235cf8a701275a8115ba9ee1ad6a5c0479/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37373862616362313862626463646135386163372f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/davidjeddy/stripe-command-bus-interface/maintainability)

[![SensioLabsInsight](https://camo.githubusercontent.com/472a69f1ac1a84c13f0f73f2cc8362162ec66026ba93b425e597aaadc370d93d/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31393737343332612d663639662d343830642d613063622d3166363536323762613866332f6269672e706e67)](https://insight.sensiolabs.com/projects/1977432a-f69f-480d-a0cb-1f65627ba8f3)

Status / Version
----------------

[](#status--version)

EARLY ALPHA! I had a need so I created a solution. (See [SemVer](http://semver.org/) for an explanation of version numbering.)

Credit
------

[](#credit)

Could not do this without the work of [Eugene Terentev](https://github.com/trntv).

Description
-----------

[](#description)

A limited selection of [command bus](https://www.sitepoint.com/command-buses-demystified-a-look-at-the-tactician-package/)style classes that overlay the Stripe PHP API classes.

Install
-------

[](#install)

Either

- `composer install davidjeddy/stripe-command-bus-interface`
- or add `"davidjeddy/stripe-command-bus-interface": "*",` to your projects composer.json in the `required` sections, -[THEN](https://www.youtube.com/channel/UCPSfjD7o1CQZXzdAy56c8kg) run `composer install`.

Usage
-----

[](#usage)

1. Add the desired classes to your application classes `use` statements.
2. Implement command bus logic in the class:

```
# basic command bus class to handler
$response = $commandBus->handle(
    # the Stripe Command Bus core class. All requests pass through this class.
    new CreateHandler([
        # the Stripe data is passed to the command bus handlers as the `data` property
        'data' => [
            'description'   => 'Test Co. LLC',
            'email'         => 'test@email.com',
        ]
    ])
);
```

- `$response` is passed from the Stripe class response back to your application.
- When mapping information for a Stripe class, it will always be contained within the 'data' array key.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance62

Regular maintenance activity

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~43 days

Recently: every ~53 days

Total

6

Last Release

3015d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c87b153a146e26efc71045db2c227c6eb3a8b2e3b1eb29884491fa550300cf5?d=identicon)[davidjeddy](/maintainers/davidjeddy)

---

Top Contributors

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

---

Tags

stripecommand bus

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/davidjeddy-stripe-command-bus-interface/health.svg)

```
[![Health](https://phpackages.com/badges/davidjeddy-stripe-command-bus-interface/health.svg)](https://phpackages.com/packages/davidjeddy-stripe-command-bus-interface)
```

###  Alternatives

[tightenco/nova-stripe

A tool to create a quick Stripe dashboard in your Laravel Nova admin panels

110308.9k](/packages/tightenco-nova-stripe)[jacobbennett/stripe-test-token

Quickly create Stripe test tokens for successful and exceptional Stripe responses.

14654.8k](/packages/jacobbennett-stripe-test-token)[flux-se/payum-stripe

Payum Stripe gateways

29407.5k4](/packages/flux-se-payum-stripe)[payum/stripe

The Payum extension. It provides Stripe payment integration.

22573.1k3](/packages/payum-stripe)[craftcms/commerce-stripe

Stripe integration for Craft Commerce 5.0+

32157.4k3](/packages/craftcms-commerce-stripe)[chronon/stripe

A CakePHP 2.x Stripe Payment Processing Component.

4246.6k](/packages/chronon-stripe)

PHPackages © 2026

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