PHPackages                             denisneuf/thinkphp-paypal-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. denisneuf/thinkphp-paypal-api

ActiveLibrary[API Development](/categories/api)

denisneuf/thinkphp-paypal-api
=============================

A ThinkPHP wrapper for using PayPal Rest API

v0.0.4(3y ago)016MITPHPPHP &gt;=7.2.5CI passing

Since Mar 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/denisneuf/thinkphp-paypal-api)[ Packagist](https://packagist.org/packages/denisneuf/thinkphp-paypal-api)[ Docs](https://github.com/denisneuf/thinkphp-paypal-api)[ RSS](/packages/denisneuf-thinkphp-paypal-api/feed)WikiDiscussions main Synced today

READMEChangelog (4)DependenciesVersions (5)Used By (0)

[![thinkphp](https://camo.githubusercontent.com/3c1a0317ee5a94af211fecd0e038e6471ca1c9be462eee74f0016f24e62d296b/68747470733a2f2f626f782e6b616e636c6f75642e636e2f3561306161613639613566663432363537623563343731356633643439323231)](https://www.kancloud.cn/manual/thinkphp6_0/1037479)

ThinkPHP Paypal Api
===================

[](#thinkphp-paypal-api)

[![Packagist Version](https://camo.githubusercontent.com/098e959f16a20c1cf8342675bc1e4121788c61eff81e353275117441649c4049/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64656e69736e6575662f7468696e6b7068702d70617970616c2d617069)](https://packagist.org/packages/denisneuf/thinkphp-paypal-api)

A library to support Paypal Rest API from [ThinkPHP](https://github.com/top-think/framework/) framework.

INSTALL
-------

[](#install)

First Install your ThinkPHP project:

> The operating environment of ThinkPHP6.1 requires PHP7.2.5+, with a maximum compatibility of PHP8.2

### INSTALL THINKPHP WITH COMPOSER

[](#install-thinkphp-with-composer)

```
composer create-project topthink/think tp

```

Init service

```
cd tp
php think run

```

You can then access it in a browser

```
http://localhost:8000

```

If the framework needs to be updated

```
composer update topthink/framework

```

### REQUIRE THINKPHP-PAYPAL-API

[](#require-thinkphp-paypal-api)

```
composer require denisneuf/thinkphp-paypal-api

```

Run an update to install the package

```
composer update

```

### USE IT IN YOUR CONTROLLER

[](#use-it-in-your-controller)

```
