LaravelPackages.net
Acme Inc.
Toggle sidebar
naif/paypal

A Laravel Nova card to display PayPal current balance and latest transactions

356
12
v1.7
About naif/paypal

naif/paypal is a Laravel package for a laravel nova card to display paypal current balance and latest transactions. It currently has 12 GitHub stars and 356 downloads on Packagist (latest version v1.7). Install it with composer require naif/paypal. Discover more Laravel packages by naif or browse all Laravel packages to compare alternatives.

Last updated

Nova PayPal Card

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:

[email protected]

https://www.linkedin.com/in/naif

License:

The MIT License (MIT). Please see License File for more information.

Star History Chart