PHPackages                             mobly/paypal-stc - 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. mobly/paypal-stc

ActiveLibrary

mobly/paypal-stc
================

PayPal STC SDK Integration

1.0.0(6y ago)012proprietaryPHPPHP &gt;=5.4

Since Sep 18Pushed 5y ago11 watchersCompare

[ Source](https://github.com/mobly/paypal-stc)[ Packagist](https://packagist.org/packages/mobly/paypal-stc)[ RSS](/packages/mobly-paypal-stc/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

 [![](https://camo.githubusercontent.com/39c481f743081ecd74382f9ae1cf227c4c613a82af6959edf637c060e63c3faa/68747470733a2f2f7777772e6d6f626c792e636f6d2e62722f696d616765732f6d6f626c79342f6c6f676f2d6d6f626c79342e737667)](https://camo.githubusercontent.com/39c481f743081ecd74382f9ae1cf227c4c613a82af6959edf637c060e63c3faa/68747470733a2f2f7777772e6d6f626c792e636f6d2e62722f696d616765732f6d6f626c79342f6c6f676f2d6d6f626c79342e737667)

[![](https://github.com/mobly/paypal-stc/workflows/PHP%20Default%20Workflow/badge.svg)](https://github.com/mobly/paypal-stc/workflows/PHP%20Default%20Workflow/badge.svg)

Mobly PayPal-STC-SDK
====================

[](#mobly-paypal-stc-sdk)

Simple SDK to make an standardize paypal stc integration

How to use
----------

[](#how-to-use)

Make a Payment Transaction:

```
require __DIR__ . '/vendor/autoload.php';

use Mobly\PaypalStc\Sdk\Client;
use Mobly\PaypalStc\Sdk\Command\Risk;
use Mobly\PaypalStc\Sdk\Entities\Receiver;
use Mobly\PaypalStc\Sdk\Entities\Transaction;
use Mobly\PaypalStc\Sdk\Interfaces\PaymentInterface;

$paypalPlusMerchantId = "my-merchant-id";
$trackingId = 'my-tracking';
$token = 'my-token';
$url = 'http://www.paypal.com';

$risk = new Risk($paypalPlusMerchantId, $trackingId);
$receiver = new Receiver();
$order = new Transaction();

$sender = new \Mobly\PaypalStc\Sdk\Entities\Sender();
$sender->setSenderFirstName('João')
    ->setSenderLastName('João')
    ->setSenderPhone(11123451234);
    //other fields ...

$receiver->setBusinessName('Mobly');
$receiver->setReceiverEmail('paypal@paypal.com');
$receiver->setReceiverAccountId('paypal@paypal.com');
$receiver->setReceiverAddressState('SP');
$receiver->setReceiverAddressCity('São Paulo');
$receiver->setReceiverAddressCountryCode(PaymentInterface::PAYMENT_CURRENCY);
// other fields ...

$transaction = new Transaction();
$transaction->setSender($sender)
    ->setReceiver($receiver);

$client = new Client($token, $url);
$risk  = new Risk($paypalPlusMerchantId, $trackingId);

try {
    $risk->registerRisk($client, $transaction);
    $risk->retrieveRisk($client);
} catch (\GuzzleHttp\Exception\GuzzleException $e) {
    die($e->getMessage());
} catch (Exception $e) {
    die($e->getMessage());
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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

2424d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed998a56cf0b6bef5c88f6de0c137e6729d81ba2105266a7f4667e2eaadfd884?d=identicon)[mobly-git](/maintainers/mobly-git)

---

Top Contributors

[![omangi](https://avatars.githubusercontent.com/u/8041308?v=4)](https://github.com/omangi "omangi (6 commits)")[![filipehiguchi](https://avatars.githubusercontent.com/u/101726113?v=4)](https://github.com/filipehiguchi "filipehiguchi (4 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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