Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/themsaid/nova-cashier-manager
Managing Stripe subscriptions inside the incredible Laravel Nova admin panel.
https://github.com/themsaid/nova-cashier-manager
laravel nova package php
Last synced: about 2 months ago
JSON representation
Managing Stripe subscriptions inside the incredible Laravel Nova admin panel.
- Host: GitHub
- URL: https://github.com/themsaid/nova-cashier-manager
- Owner: themsaid
- License: mit
- Archived: true
- Created: 2018-08-21T11:09:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-27T03:07:49.000Z (almost 5 years ago)
- Last Synced: 2024-11-04T05:35:38.469Z (about 2 months ago)
- Topics: laravel, nova, package, php
- Language: Vue
- Size: 172 KB
- Stars: 153
- Watchers: 8
- Forks: 52
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-laravel-nova - Laravel Nova / Laravel Cashier
README
# This package is archived and is no longer maintained!
If you decide to maintain a fork, please contact me and I'll gladly share your repo here for people to use instead.
# Laravel Nova / Laravel Cashier
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](https://github.com/laravel/cashier).Looking to see high-level information about your application's Stripe balance and charges in a Nova dashboard? Check out [Nova Stripe Dashboard](https://github.com/tightenco/nova-stripe).
## How it works
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 Stripe, Braintree is not supported yet.
## Installation and usage
You may require this package using composer:
```
composer require themsaid/nova-cashier-manager
```Next up, you must register the tool with Nova in the tools method of the NovaServiceProvider:
```
// in app/Providers/NovaServiceProvder.php// ...
public function tools()
{
return [
// ...
new \Themsaid\CashierTool\CashierTool(),
];
}
```Now in your billable resource, let's say User, add the following to the `fields()` method:
```
CashierResourceTool::make()->onlyOnDetail()
```## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.