Download the PHP package shuyi/nova-bt-cashier-manager without Composer
On this page you can find all versions of the php package shuyi/nova-bt-cashier-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package nova-bt-cashier-manager
This package is not fully tested yet, it is available on composer.
Laravel Nova / Laravel Cashier / Braintree
This package is based on nova-cashier-manager, I kept his namespace for all PHP classes.
This package adds several components to your Laravel Nova Admin panel to help you with managing customer subscriptions, it works hand in hand with Laravel Cashier.
Difference
- This package uses a more generic term
billable
in place ofuser
in variable names and route names - Some features / Data will not display properly, due to the braintree feature missing
charges
aretransactions
- BrainTree Libraries has fully replaced the Stripe Library.
- It support multiple subscriptions !
Todos
- I need more people to test this ... My use case is very limited
- Cancel Subscription still do not work (out of some mysterious reasons)
- Maybe a better UI for multiple subscription cards
How it works
This package intends to function as much we can with the BrainTree Library, and Laravel Cashier. Some features that was meant for Stripe will be lost (e.g. Refund)
This package adds a section in the billable resource details view with some information about the subscription:
If you want to display more details and be able to manage the subscription you may click the "Manage" link which will lead you to a screen with full management capabilities.
Currently this package works only with laravel cashier for Braintree, Stripe has been taken out.
Installation and usage
You may require this package using composer: (not yet on composer, will figure out what to do)
Next up, you must register the tool with Nova in the tools method of the NovaServiceProvider:
Now in your billable resource, let's say User, add the following to the fields()
method:
License
The MIT License (MIT). Please see License File for more information.