PHPackages                             kraenkvisuell/rest-api-sdk-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. kraenkvisuell/rest-api-sdk-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

kraenkvisuell/rest-api-sdk-php
==============================

PayPal's PHP SDK for REST APIs

v2.0.1(2y ago)03.2kApache-2.0PHPPHP &gt;=5.3.0

Since Mar 8Pushed 2y agoCompare

[ Source](https://github.com/kraenkvisuell/PayPal-PHP-SDK)[ Packagist](https://packagist.org/packages/kraenkvisuell/rest-api-sdk-php)[ Docs](http://paypal.github.io/PayPal-PHP-SDK/)[ RSS](/packages/kraenkvisuell-rest-api-sdk-php/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (61)Used By (0)

Deprecation Notice:
===================

[](#deprecation-notice)

This SDK is deprecated. You can continue to use it, but no new features or support requests will be accepted. For alternatives, please visit [the current SDK homepage on the PayPal Developer Portal](https://developer.paypal.com/docs/api/rest-sdks/)

REST API SDK for PHP
--------------------

[](#rest-api-sdk-for-php)

[![Home Image](https://raw.githubusercontent.com/wiki/paypal/PayPal-PHP-SDK/images/homepage.jpg)](https://raw.githubusercontent.com/wiki/paypal/PayPal-PHP-SDK/images/homepage.jpg)

[![Build Status](https://camo.githubusercontent.com/55ff93afcd8ae6376e6c617cfcba91c167040574976060efcf5a4176fbbd2873/68747470733a2f2f7472617669732d63692e6f72672f70617970616c2f50617950616c2d5048502d53444b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/paypal/PayPal-PHP-SDK)[![Coverage Status](https://camo.githubusercontent.com/1ff1d3fbeedbddc320adfaeddfb15cb365c80b435259fa1fb5ef11cc2a16202f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f70617970616c2f50617950616c2d5048502d53444b2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/paypal/PayPal-PHP-SDK?branch=master)

**Welcome to PayPal PHP SDK**. This repository contains PayPal's PHP SDK and samples for REST API.

Direct Credit Card Support
--------------------------

[](#direct-credit-card-support)

> **Important: The PayPal REST API no longer supports new direct credit card integrations.** Please instead consider [Braintree Direct](https://www.braintreepayments.com/products/braintree-direct); which is, PayPal's preferred integration solution for accepting direct credit card payments in your mobile app or website. Braintree, a PayPal service, is the easiest way to accept credit cards, PayPal, and many other payment methods.

Please Note
-----------

[](#please-note)

> **The Payment Card Industry (PCI) Council has [mandated](https://blog.pcisecuritystandards.org/migrating-from-ssl-and-early-tls) that early versions of TLS be retired from service. All organizations that handle credit card information are required to comply with this standard. As part of this obligation, PayPal is updating its services to require TLS 1.2 for all HTTPS connections. At this time, PayPal will also require HTTP/1.1 for all connections. [Click here](https://github.com/paypal/tls-update) for more information**

> **Connections to the sandbox environment use only TLS 1.2.**

SDK Documentation
-----------------

[](#sdk-documentation)

[Our PayPal-PHP-SDK Page](http://paypal.github.io/PayPal-PHP-SDK/) includes all the documentation related to PHP SDK. Everything from SDK Wiki, to Sample Codes, to Releases. Here are few quick links to get you there faster.

- [PayPal-PHP-SDK Home Page](https://paypal.github.io/PayPal-PHP-SDK/)
- [Wiki](https://github.com/paypal/PayPal-PHP-SDK/wiki)
- [Samples](https://paypal.github.io/PayPal-PHP-SDK/sample/)
- [Installation](https://github.com/paypal/PayPal-PHP-SDK/wiki/Installation)
- [Make your First SDK Call](https://github.com/paypal/PayPal-PHP-SDK/wiki/Making-First-Call)
- [PayPal Developer Docs](https://developer.paypal.com/docs/)

Latest Updates
--------------

[](#latest-updates)

- SDK now allows injecting your logger implementation. Please read [documentation](https://github.com/paypal/PayPal-PHP-SDK/wiki/Custom-Logger) for more details.
- If you are running into SSL Connect Error talking to sandbox or live, please update your SDK to latest version or, follow instructions as shown [here](https://github.com/paypal/PayPal-PHP-SDK/issues/474)
- Checkout the latest 1.0.0 release. Here are all the [breaking Changes in v1.0.0](https://github.com/paypal/PayPal-PHP-SDK/wiki/Breaking-Changes---1.0.0) if you are migrating from older versions.
- Now we have a [Github Page](https://paypal.github.io/PayPal-PHP-SDK/), that helps you find all helpful resources building applications using PayPal-PHP-SDK.

PayPal Checkout v2
------------------

[](#paypal-checkout-v2)

Please note that if you are integrating with PayPal Checkout, this SDK and corresponding API [v1/payments](https://developer.paypal.com/docs/api/payments/v1/) are in the process of being deprecated.

We recommend that you integrate with API [v2/checkout/orders](https://developer.paypal.com/docs/api/orders/v2/) and [v2/payments](https://developer.paypal.com/docs/api/payments/v2/). Please refer to the [Checkout PHP SDK](https://github.com/paypal/Checkout-PHP-SDK) to continue with the integration.

2.0 Release Candidate!
----------------------

[](#20-release-candidate)

We're releasing a [brand new version of our SDK!](https://github.com/paypal/PayPal-php-SDK/tree/2.0-beta) 2.0 is currently at release candidate status, and represents a full refactor, with the goal of making all of our APIs extremely easy to use. 2.0 includes all of the existing APIs (except payouts), and includes the new Orders API (Disputes and Marketplace coming soon). Check out the [FAQ and migration guide](https://github.com/paypal/PayPal-php-SDK/tree/2.0-beta/docs), and let us know if you have any suggestions or issues!

Prerequisites
-------------

[](#prerequisites)

- PHP 5.3 or above
- [curl](https://secure.php.net/manual/en/book.curl.php), [json](https://secure.php.net/manual/en/book.json.php) &amp; [openssl](https://secure.php.net/manual/en/book.openssl.php) extensions must be enabled

License
-------

[](#license)

Read [License](LICENSE) for more licensing information.

Contributing
------------

[](#contributing)

Read [here](CONTRIBUTING.md) for more information.

More help
---------

[](#more-help)

- [Going Live](https://github.com/paypal/PayPal-PHP-SDK/wiki/Going-Live)
- [PayPal-PHP-SDK Home Page](http://paypal.github.io/PayPal-PHP-SDK/)
- [SDK Documentation](https://github.com/paypal/PayPal-PHP-SDK/wiki)
- [Sample Source Code](http://paypal.github.io/PayPal-PHP-SDK/sample/)
- [API Reference](https://developer.paypal.com/docs/api/)
- [Reporting Issues / Feature Requests](https://github.com/paypal/PayPal-PHP-SDK/issues)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor4

4 contributors hold 50%+ of commits

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

Every ~70 days

Recently: every ~543 days

Total

56

Last Release

925d ago

Major Versions

v0.16.1 → v1.0.02015-01-11

v1.7.2 → v2.0.02021-10-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/bbdadd3d1931366139b27d9b8a39e7edc03cb99aa82ee126e54c77ac089d4d0c?d=identicon)[manogi](/maintainers/manogi)

---

Top Contributors

[![aydiv](https://avatars.githubusercontent.com/u/531806?v=4)](https://github.com/aydiv "aydiv (31 commits)")[![avidas](https://avatars.githubusercontent.com/u/873597?v=4)](https://github.com/avidas "avidas (29 commits)")[![jaypatel512](https://avatars.githubusercontent.com/u/1309895?v=4)](https://github.com/jaypatel512 "jaypatel512 (25 commits)")[![ganeshx](https://avatars.githubusercontent.com/u/644158?v=4)](https://github.com/ganeshx "ganeshx (24 commits)")[![prannamalai](https://avatars.githubusercontent.com/u/1575082?v=4)](https://github.com/prannamalai "prannamalai (13 commits)")[![braintreeps](https://avatars.githubusercontent.com/u/200407?v=4)](https://github.com/braintreeps "braintreeps (9 commits)")[![bluk](https://avatars.githubusercontent.com/u/94150?v=4)](https://github.com/bluk "bluk (8 commits)")[![braebot](https://avatars.githubusercontent.com/u/3358986?v=4)](https://github.com/braebot "braebot (7 commits)")[![xiaoleih41](https://avatars.githubusercontent.com/u/1178879?v=4)](https://github.com/xiaoleih41 "xiaoleih41 (6 commits)")[![ojtibi](https://avatars.githubusercontent.com/u/51964?v=4)](https://github.com/ojtibi "ojtibi (5 commits)")[![siddick](https://avatars.githubusercontent.com/u/159859?v=4)](https://github.com/siddick "siddick (5 commits)")[![irfanevrens](https://avatars.githubusercontent.com/u/166640?v=4)](https://github.com/irfanevrens "irfanevrens (4 commits)")[![sankarbhavanib](https://avatars.githubusercontent.com/u/9042244?v=4)](https://github.com/sankarbhavanib "sankarbhavanib (4 commits)")[![hakito](https://avatars.githubusercontent.com/u/320853?v=4)](https://github.com/hakito "hakito (4 commits)")[![ahmad-saad](https://avatars.githubusercontent.com/u/1744614?v=4)](https://github.com/ahmad-saad "ahmad-saad (3 commits)")[![brun0ric](https://avatars.githubusercontent.com/u/238116460?v=4)](https://github.com/brun0ric "brun0ric (3 commits)")[![lathavairamani](https://avatars.githubusercontent.com/u/644422?v=4)](https://github.com/lathavairamani "lathavairamani (3 commits)")[![lvairamani](https://avatars.githubusercontent.com/u/1984252?v=4)](https://github.com/lvairamani "lvairamani (3 commits)")[![ultimatedion](https://avatars.githubusercontent.com/u/4740888?v=4)](https://github.com/ultimatedion "ultimatedion (2 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (2 commits)")

---

Tags

sdkrestpaymentspaypal

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kraenkvisuell-rest-api-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/kraenkvisuell-rest-api-sdk-php/health.svg)](https://phpackages.com/packages/kraenkvisuell-rest-api-sdk-php)
```

PHPackages © 2026

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