PHPackages                             duythien/cashier - 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. duythien/cashier

ActiveLibrary[Payment Processing](/categories/payments)

duythien/cashier
================

Phalcon Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

v1.1.0(9y ago)143709[1 issues](https://github.com/duythien/cashier/issues)[3 PRs](https://github.com/duythien/cashier/pulls)GNUPHPPHP &gt;=5.5.9

Since May 25Pushed 1y ago8 watchersCompare

[ Source](https://github.com/duythien/cashier)[ Packagist](https://packagist.org/packages/duythien/cashier)[ RSS](/packages/duythien-cashier/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (5)Versions (6)Used By (0)

Build Status and Join chats us:
-------------------------------

[](#build-status-and-join-chats-us)

[![Build Status](https://camo.githubusercontent.com/49218b8d8bcef08a95e353c72ef79250a98deab889f81f13d81c159f7e7db577/68747470733a2f2f7472617669732d63692e6f72672f647579746869656e2f636173686965722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/duythien/cashier) [![Slack](https://camo.githubusercontent.com/f5d2365e5ad6b5dd4583d79237511ab43324496b3b1b95c52b86bd50babaeaba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736c61636b2d6a6f696e253230636861742532302545322538362539322d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://chat.phalcontip.com)

Introduction
------------

[](#introduction)

Phalcon Cashier provides an expressive, fluent interface to [Stripe's](https://stripe.com) subscription billing services. It handles almost all of the boilerplate subscription billing code you are dreading writing. In addition to basic subscription management, Cashier can handle coupons, swapping subscription, subscription "quantities", cancellation grace periods, and even generate invoice PDFs.

Test Setup
----------

[](#test-setup)

You will need to set the following details locally and on your Stripe account in order to test:

### Local

[](#local)

#### Add some parameter in config.php such as like below

[](#add-some-parameter-in-configphp-such-as-like-below)

```
'stripe' => [
    'model'      => 'App\Models\Users',
    'secretKey'  => null,
    'publishKey' => null
]
```

### Stripe

[](#stripe)

#### Plans

[](#plans)

```
* monthly-10-1 ($10)
* monthly-10-2 ($10)

```

#### Coupons

[](#coupons)

```
* coupon-1 ($5)

```

Official Documentation
----------------------

[](#official-documentation)

You can how to using it at [here](https://github.com/duythien/cashier/wiki/Using-Phalcon-Cashier). Also it is inspiring by Laravel so you can take look on the [Laravel website](http://laravel.com/docs/billing).

Contributing
------------

[](#contributing)

Thank you for considering contributing to the Cashier. You can read the contribution guide lines [here](contributing.md).

License
-------

[](#license)

Phalcon Cashier is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~95 days

Total

2

Last Release

3592d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1762691?v=4)[Thien Tran](/maintainers/duythien)[@duythien](https://github.com/duythien)

---

Top Contributors

[![duythien](https://avatars.githubusercontent.com/u/1762691?v=4)](https://github.com/duythien "duythien (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![rmariuzzo](https://avatars.githubusercontent.com/u/439839?v=4)](https://github.com/rmariuzzo "rmariuzzo (1 commits)")

---

Tags

stripebillingphalcon

###  Code Quality

TestsCodeception

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/duythien-cashier/health.svg)

```
[![Health](https://phpackages.com/badges/duythien-cashier/health.svg)](https://phpackages.com/packages/duythien-cashier)
```

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k28.4M137](/packages/laravel-cashier)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k17](/packages/solspace-craft-freeform)[mollie/laravel-cashier-mollie

Laravel Cashier provides an expressive, fluent interface to Mollie's subscription billing services.

177185.5k1](/packages/mollie-laravel-cashier-mollie)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[yii2mod/yii2-cashier

Yii2 Cashier provides an interface to Stripe's subscription billing services.

457.3k](/packages/yii2mod-yii2-cashier)

PHPackages © 2026

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