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

ActiveLibrary[Payment Processing](/categories/payments)

travoltron/cashier-extras
=========================

Adding the missing features to the fantastic Laravel Cashier package

0.9.5(9y ago)10352MITPHP

Since Aug 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/travoltron/cashier-extras)[ Packagist](https://packagist.org/packages/travoltron/cashier-extras)[ Docs](https://github.com/travoltron/cashier-extras)[ RSS](/packages/travoltron-cashier-extras/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (6)Versions (7)Used By (0)

cashier-extras
==============

[](#cashier-extras)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8c4ad9d8cc06cceef28fc35f23e4638ff9d188ff64c3b77e96eb0b233f61a615/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f747261766f6c74726f6e2f636173686965722d6578747261732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/travoltron/cashier-extras)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/ee96de89a1490d72c09a6388e1dddb56557a4fec320c9e84a71a0a2e5231bbda/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f747261766f6c74726f6e2f636173686965722d6578747261732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/travoltron/cashier-extras)

Install
-------

[](#install)

Via Composer

```
$ composer require travoltron/cashier-extras
```

Add the following to `config/app.php`:

`Travoltron\CashierExtras\CashierExtrasServiceProvider::class,`

Usage
-----

[](#usage)

This package adds a few interactive CLI tools to make working with Stripe and Laravel's Cashier package a little bit easier. For now it supports creating, listing, and deleting both Stripe Plans and Coupons.

The Laravel Cashier package documentation states that to run it's own suite of tests, some plans and a coupon need to be added to your Stripe account.

The added commands are as follows:

\###Cashier Testing

```
php artisan cashier:test-data
```

This adds the needed plans and coupons for Laravel Cashier testing.

\###Check Stripe Keys

```
php artisan stripe:check-keys
```

This checks that the `.env` file has been populated with the correct keys and checks at a very loose level that the keys are correctly formatted.

\###Stripe Plans

```
php artisan stripe:list-plans
```

Displays a table of the plans currently enabled on your Stripe account.

```
php artisan stripe:make-plan
```

Interactive wizard to create a plan via the CLI.

```
php artisan stripe:delete-plan {id}
```

Deletes a plan with the supplied id. To see this ID, list the plans, and select the value from the first column.

\###Stripe Coupons

```
php artisan stripe:list-coupons
```

Displays a table of the coupons currently enabled on your Stripe account.

```
php artisan stripe:make-coupon
```

Interactive wizard to create a coupon via the CLI.

```
php artisan stripe:delete-coupon {id}
```

Deletes a coupon with the supplied id. To see this ID, list the coupons, and select the value from the first column.

\##Caveats

By default, the `config/services.php` file has a section for Stripe setup like so:

```
'stripe' => [
    'model' => App\User::class,
    'key' => env('STRIPE_KEY'),
    'secret' => env('STRIPE_SECRET'),
],
```

In order to check for the keys being set properly, change this to:

```
'stripe' => [
    'model' => App\User::class,
    'key' => env('STRIPE_KEY', env('STRIPE_TEST_KEY')),
    'secret' => env('STRIPE_SECRET', env('STRIPE_TEST_SECRET')),
],
```

and add the keys `STRIPE_TEST_KEY` and `STRIPE_TEST_SECRET` to your .env file.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ben Warburton](https://github.com/travoltron)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.7% 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 ~10 days

Total

6

Last Release

3506d ago

### Community

Maintainers

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

---

Top Contributors

[![travoltron](https://avatars.githubusercontent.com/u/2647090?v=4)](https://github.com/travoltron "travoltron (43 commits)")[![Krato](https://avatars.githubusercontent.com/u/74367?v=4)](https://github.com/Krato "Krato (1 commits)")

---

Tags

Travoltroncashier-extras

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[lemonsqueezy/laravel

A package to easily integrate your Laravel application with Lemon Squeezy.

58596.1k](/packages/lemonsqueezy-laravel)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[yii2mod/yii2-cashier

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

467.3k](/packages/yii2mod-yii2-cashier)[flux-se/sylius-stripe-plugin

Sylius Stripe plugin using Payment Request

1029.3k](/packages/flux-se-sylius-stripe-plugin)

PHPackages © 2026

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