PHPackages                             monaye/nova-cashier-subscription - 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. monaye/nova-cashier-subscription

ActiveLibrary

monaye/nova-cashier-subscription
================================

A Laravel Nova resource tool.

15[1 issues](https://github.com/monaye/nova-cashier-subscription/issues)Vue

Since Sep 16Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Nova Cashier Subscription Fields
================================

[](#nova-cashier-subscription-fields)

Nova Cashier Subscription package provide two fields, credit card and plans user can subscribe which can be use similar to Forge/Envoyer like subscription management for user.

Features:

- save credit card information (Stripe)
- change subscribe plan (Stripe)
- display message if user is on active plan
- display message if user is on trial
- display message if user canceled and if user is still have trial period left
- display message if user canceled and is user is still on grace period

Table of Contents
-----------------

[](#table-of-contents)

- [Screenshots](#screenshots)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

Screenshots
-----------

[](#screenshots)

[![credit card and payment plan](https://user-images.githubusercontent.com/1147313/118728386-eeb3f980-b7e8-11eb-8895-1988e9c539be.png)](https://user-images.githubusercontent.com/1147313/118728386-eeb3f980-b7e8-11eb-8895-1988e9c539be.png)

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

[](#installation)

This package can be installed via command:

```
composer require monaye/nova-cashier-subscription
```

Usage
-----

[](#usage)

```
Plan::make($planList),

CreditCard::make($intentClientSecret, $stripeKey),
```

### Plan List Format

[](#plan-list-format)

```
return [
            [
                'label' => 'Free Plan',
                'value' => self::FREE_PLAN,
            ],
            [
                'label' => 'Standard Plan',
                'value' => config('stripe.standard_plan')
            ],
            [
                'label' => 'Premium Plan',
                'value' => config('stripe.premium_plan'),
            ],
        ];

```

### Intent Client Secret

[](#intent-client-secret)

For Intent Client Secret you can simply get with :
`$user->createSetupIntent()->client_secret`
[Please check Laravel docs for detail](https://laravel.com/docs/8.x/billing#payment-methods-for-subscriptions)

### Handle request

[](#handle-request)

Since every application handle little bit differently, the package doesn't come with a controller that will handle the request when user submit the creditcard update and plan update request.

You can defined the FQCN with method name in the config file like below:

```
[
    'handleCreditUpdate' => '\App\Http\Controllers\SubscriptionController@changeSubscription',
    'handlePlanUpdate' => '\App\Http\Controllers\SubscriptionController@updateCreditCard'
]
```

To publish the config file:
`php artisan vendor:publish --provider="Monaye\NovaCashierSubscription\ToolServiceProvider"`

License
-------

[](#license)

#### The License is free to use for non-military use and if you are:

[](#the-license-is-free-to-use-for-non-military-use-and-if-you-are)

1. Personal use and make less than 1 million US dollar per year
2. Corporate/Organization make less than 1 million revenue per year

#### License fees :

[](#license-fees-)

If you make more than 1 million US dollar, license fees $100/year. If you corporate/organization make more than 1 million revenue per year, license fees $150/year.

#### Use of license fee

[](#use-of-license-fee)

All the revenue generate from this software will be donate back to following:

1. To open source community (50%)
2. To organization that support education for children (25%)
3. To organization that fight for the Global Warming (25%)

More Screenshots
----------------

[](#more-screenshots)

[![grace-period-message](https://user-images.githubusercontent.com/1147313/133651929-3be7fe4a-9b00-41c3-823d-02f11a36136b.png)](https://user-images.githubusercontent.com/1147313/133651929-3be7fe4a-9b00-41c3-823d-02f11a36136b.png)[![registred credit card](https://user-images.githubusercontent.com/1147313/133651937-c82b1c1f-f3b0-479a-895c-b030aac5c116.png)](https://user-images.githubusercontent.com/1147313/133651937-c82b1c1f-f3b0-479a-895c-b030aac5c116.png)[![active message](https://user-images.githubusercontent.com/1147313/133651940-ac7203a4-79ab-4101-9a45-379b0c267280.png)](https://user-images.githubusercontent.com/1147313/133651940-ac7203a4-79ab-4101-9a45-379b0c267280.png)

###  Health Score

11

—

LowBetter than 0% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

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/81421fba9b3c7686b67989e10934ac25ed923401cab9680b7a5eb7a93415ac7f?d=identicon)[monaye](/maintainers/monaye)

### Embed Badge

![Health badge](/badges/monaye-nova-cashier-subscription/health.svg)

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

PHPackages © 2026

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