naif/paypal
Composer 安装命令:
composer require naif/paypal
包简介
A Laravel Nova card to display PayPal current balance and latest transactions
README 文档
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.
统计信息
- 总下载量: 356
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-08