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

ActiveLibrary[Payment Processing](/categories/payments)

zozocorp/cashier
================

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

v1.0.0(5y ago)03MITPHP

Since May 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zozocorp/cashier)[ Packagist](https://packagist.org/packages/zozocorp/cashier)[ RSS](/packages/zozocorp-cashier/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

[![](https://camo.githubusercontent.com/3ace6b5f558c34814fba15e6bcf742939530d6c798bc6679b3bc78b07807c0e0/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d636173686965722e737667)](https://camo.githubusercontent.com/3ace6b5f558c34814fba15e6bcf742939530d6c798bc6679b3bc78b07807c0e0/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d636173686965722e737667)

[![Build Status](https://camo.githubusercontent.com/4b6af9ca5e02a59ccd1062d1f0dd8c75c646178d8dbd57b6cfc43e7595852c65/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2f636173686965722e737667)](https://travis-ci.org/laravel/cashier)[![Total Downloads](https://camo.githubusercontent.com/d1c5ac73f86b96a8c871fa7ea688d87289806f0eede05ada207a39ae7d882cb6/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f636173686965722f642f746f74616c2e737667)](https://packagist.org/packages/laravel/cashier)[![Latest Stable Version](https://camo.githubusercontent.com/c0a347ea015a9202e5d07c278f054b1adc5c441f6ea2380f6e1663c3f502dab8/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f636173686965722f762f737461626c652e737667)](https://packagist.org/packages/laravel/cashier)[![License](https://camo.githubusercontent.com/46bf4ca909e8902c85d36c25e1f47b1f88565241f326cf9592d3266974f46d36/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f636173686965722f6c6963656e73652e737667)](https://packagist.org/packages/laravel/cashier)

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

[](#introduction)

Laravel 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.

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

[](#official-documentation)

Documentation for Cashier can be found on the [Laravel website](https://laravel.com/docs/billing).

Running Cashier's Tests Locally
-------------------------------

[](#running-cashiers-tests-locally)

You will need to set the following details locally and on your Stripe account in order to run the Cashier unit tests:

### Environment

[](#environment)

#### .env

[](#env)

```
STRIPE_SECRET=
STRIPE_MODEL=Laravel\Cashier\Tests\Fixtures\User

```

You can set these variables in the `phpunit.xml` file.

### Stripe

[](#stripe)

#### Plans

[](#plans)

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

```

#### Coupons

[](#coupons)

```
* coupon-1 ($5)

```

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

[](#contributing)

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

License
-------

[](#license)

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

Database
--------

[](#database)

Step 1: subscription creations (newSubscription) Plan - id - remote\_plan\_id - billable\_card\_brand - billable\_card\_last\_four

Owner - id - remote\_owner\_id

Subscription - id - local\_owner\_id - local\_plan\_id

Subscription - id - gateway - remote\_id - local\_owner\_id - local\_plan\_id - quantity - trial\_ends\_at - ends\_at

Step 2: subscription recurring ()

Step 3: invoices listing (last invoice, next invoice, invoice list) - Customers can quick view their invoices

Step 4: Admin subscription editable

Step 5: trials period

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

1828d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/81798747?v=4)[Zozo](/maintainers/zozocorp)[@zozocorp](https://github.com/zozocorp)

---

Top Contributors

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

---

Tags

laravelstripebilling

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[simonhamp/laravel-stripe-connect

1343.1k](/packages/simonhamp-laravel-stripe-connect)

PHPackages © 2026

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