File: README.md

Recommend this page to a friend!
  Classes of Naif Alshaye  >  Laravel Nova Paypal  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Laravel Nova Paypal
Show Paypal account transactions in Laravel Nova
Author: By
Last change:
Date: 1 year ago
Size: 1,132 bytes
 

Contents

Class file image Download

Nova PayPal Card

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

Installation:

First you must install naif/laravel-paypal naif/laravel-paypal into your Laravel app.

You can install the package in to a Laravel app that uses Nova via composer:

composer require naif/paypal

Usage:

<h4>Add the below to the card function in app/Providers/NovaServiceProvider.php</h4>


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:

naif@naif.io

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

License:

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


For more information send a message to info at phpclasses dot org.