naif / paypal
A Laravel Nova card to display PayPal current balance and latest transactions
Installs: 355
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 2
Forks: 4
Open Issues: 1
Language:Vue
Requires
- php: >=7.1.0
This package is not auto-updated.
Last update: 2024-11-16 16:39:00 UTC
README
A Laravel Nova card to display PayPal current balance and latest transactions.
Installation:
You can install the package in to a Laravel app that uses Nova via composer:
composer require naif/paypal
Usage:
Add the below to the card function in app/Providers/NovaServiceProvider.php
protected function cards() { return [ (new Paypal()) //you can set days to retrieve transacitons (new Paypal())->days(3) //default last 5 days //you can specifivy how many transactions to retreive (new Paypal())->count(5) //default is 10 transactions //you can hide PayPal logo (new Paypal())->hideLogo(true) //default false //Example for all options (new Paypal())->days(3)->count(5)->hideLogo(true) ]; }
Support:
https://www.linkedin.com/in/naif
License:
The MIT License (MIT). Please see License File for more information.