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

ActiveLibrary[Payment Processing](/categories/payments)

unetway/paypal
==============

Пакет для работы с подписками Paypal

v0.1(2y ago)02MITPHPPHP ^7.4

Since Mar 7Pushed 2y ago1 watchersCompare

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

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

Paypal
======

[](#paypal)

Пакет позволяет производить создание планов и подписок Paypal

Установка
---------

[](#установка)

```
$ composer require unetway/paypal

```

Использование
-------------

[](#использование)

### Параметры

[](#параметры)

- sandbox true|false
- client\_id
- secret

### Создание продукта

[](#создание-продукта)

```
use Unetway\Paypal\Paypal;

$params = [
   'sandbox' => true,
   'client_id' => '',
   'secret' => '',
];

$data = [];

$paypal = new Paypal($params);
$res = $paypal->createProduct($data);

```

### Создание плана

[](#создание-плана)

```
use Unetway\Paypal\Paypal;

$params = [];
$data = [];

$paypal = new Paypal($params);
$res = $paypal->createBillingPlan($data);

```

### Создание подписки

[](#создание-подписки)

```
use Unetway\Paypal\Paypal;

$params = [];
$data = [];

$paypal = new Paypal($params);
$res = $paypal->createSubscriptions($data);

```

### Активация подписки

[](#активация-подписки)

```
use Unetway\Paypal\Paypal;

$params = [];
$id = '';

$paypal = new Paypal($params);
$res = $paypal->activateSubscriptions($id);

```

### Приостановление подписки

[](#приостановление-подписки)

```
use Unetway\Paypal\Paypal;

$params = [];
$id = '';

$paypal = new Paypal($params);
$res = $paypal->suspendSubscriptions($id);

```

### Отмена подписки

[](#отмена-подписки)

```
use Unetway\Paypal\Paypal;

$params = [];
$id = '';

$paypal = new Paypal($params);
$res = $paypal->cancelSubscriptions($id);

```

### Возобновление подписки

[](#возобновление-подписки)

```
use Unetway\Paypal\Paypal;

$params = [];
$id = '';

$paypal = new Paypal($params);
$res = $paypal->reviseSubscriptions($id);

```

### Обновление цены подписки

[](#обновление-цены-подписки)

```
use Unetway\Paypal\Paypal;

$params = [];
$data = [];
$id = '';

$paypal = new Paypal($params);
$res = $paypal->updatePricePlan($data, $id);

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

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

800d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e6c24f4cd42aabb517ee92c8a30a1b54f81fd749fc3b9a5b232f6c29d31f474?d=identicon)[condor](/maintainers/condor)

---

Tags

billingpaypalsubscriptionsrecurrent

### Embed Badge

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

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

###  Alternatives

[lemonsqueezy/laravel

A package to easily integrate your Laravel application with Lemon Squeezy.

58596.1k](/packages/lemonsqueezy-laravel)[shetabit/multipay

PHP Payment Gateway Integration Package

291348.2k3](/packages/shetabit-multipay)[mollie/laravel-cashier-mollie

Laravel Cashier provides an expressive, fluent interface to Mollie's subscription billing services.

172155.4k1](/packages/mollie-laravel-cashier-mollie)[chargebee/cashier

Laravel Cashier for Chargebee provides an expressive, fluent interface to Chargebee's subscription billing services.

627.4k1](/packages/chargebee-cashier)[ptuchik/billing

Billing package for Laravel 5.5 supporting packages, plans, coupons, addons, payments and subscriptions

3021.2k](/packages/ptuchik-billing)[mmanos/laravel-billing

A billing package for Laravel 4.

451.3k](/packages/mmanos-laravel-billing)

PHPackages © 2026

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