PHPackages                             pkg6/paypal - 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. [Payment Processing](/categories/payments)
4. /
5. pkg6/paypal

ActiveLibrary[Payment Processing](/categories/payments)

pkg6/paypal
===========

php client for PayPal SDK

v0.0.1(1y ago)0234MITPHPPHP &gt;=7.2CI failing

Since Feb 26Pushed 1y agoCompare

[ Source](https://github.com/pkg6/paypal-php)[ Packagist](https://packagist.org/packages/pkg6/paypal)[ RSS](/packages/pkg6-paypal/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Installation
============

[](#installation)

```
composer require pkg6/paypal

```

Using the Documentation
=======================

[](#using-the-documentation)

- [RestClient](https://github.com/pkg6/paypal-php/wiki/PayPal-REST-APIs)
    ----------------------------------------------------------------------

    [](#restclient)

```
$config = [
    // Can only be 'sandbox' Or 'live'. If empty or invalid, 'live' will be used.
    'mode'           => 'live',
    'client_id'      => 'some-client-id',
    'client_secret'  => 'some-client-secret',
    'app_id'         => 'APP-80W284485P519543T',
     // Can only be 'Sale', 'Authorization' or 'Order'
    'payment_action' => 'Sale',
    'currency'       => 'USD',
     // Change this accordingly for your application.
    'notify_url'     => 'https://your-app.com/paypal/notify',
    // force gateway language  i.e. it_IT, es_ES, en_US ... (for express checkout only)
    'locale'         => 'en_US',
    // Validate SSL when creating api client.
    'validate_ssl'   => true,
];
$rest = new \pkg6\paypal\RestClient($config);
//Get Access Token
$rest->getAccessToken();

```

> For more instructions, see the documentation:
>
>

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance42

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

482d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28b119a234a9963e2266b2b493c037b1d7f01d3e17a06a3ffe94481549efa47b?d=identicon)[1751212020](/maintainers/1751212020)

---

Top Contributors

[![chihqiang](https://avatars.githubusercontent.com/u/40115555?v=4)](https://github.com/chihqiang "chihqiang (6 commits)")

---

Tags

paypalREST API

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/pkg6-paypal/health.svg)

```
[![Health](https://phpackages.com/badges/pkg6-paypal/health.svg)](https://phpackages.com/packages/pkg6-paypal)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[statamic/cms

The Statamic CMS Core Package

4.8k3.5M916](/packages/statamic-cms)[srmklive/paypal

PayPal REST API client for Laravel and standalone PHP.

1.1k4.0M28](/packages/srmklive-paypal)[oro/platform

Business Application Platform (BAP)

642140.7k104](/packages/oro-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M517](/packages/shopware-core)[moonshine/moonshine

Laravel administration panel

1.3k239.9k75](/packages/moonshine-moonshine)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
