monaye/nova-cashier-subscription is a Laravel package for a laravel nova resource tool..
It currently has 1 GitHub stars and 5 downloads on Packagist.
Install it with composer require monaye/nova-cashier-subscription.
Discover more Laravel packages by monaye
or browse all Laravel packages to compare alternatives.
Last updated
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:

This package can be installed via command:
composer require monaye/nova-cashier-subscription
Plan::make($planList),
CreditCard::make($intentClientSecret, $stripeKey),
return [
[
'label' => 'Free Plan',
'value' => self::FREE_PLAN,
],
[
'label' => 'Standard Plan',
'value' => config('stripe.standard_plan')
],
[
'label' => 'Premium Plan',
'value' => config('stripe.premium_plan'),
],
];
For Intent Client Secret you can simply get with :
$user->createSetupIntent()->client_secret
Please check Laravel docs for detail
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"
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.
All the revenue generate from this software will be donate back to following:
