PHPackages                             saurabh-bond/recurring-payment - 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. saurabh-bond/recurring-payment

ActiveLibrary[Payment Processing](/categories/payments)

saurabh-bond/recurring-payment
==============================

to create paypal recurring profile and to manage it

2110PHP

Since Feb 25Pushed 9y ago1 watchersCompare

[ Source](https://github.com/saurabh-globussoft/SaurabhBond-RecurringPayment)[ Packagist](https://packagist.org/packages/saurabh-bond/recurring-payment)[ RSS](/packages/saurabh-bond-recurring-payment/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SaurabhBond-RecurringPayment
============================

[](#saurabhbond-recurringpayment)

To create paypal recurring profile, make transactions, and get the profile details

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

[](#installation)

in composer.json, write

```
"saurabh-bond/recurring-payment": "dev-master"

```

and then update the composer

add the location to psr-4 in your composer.json

```
"SaurabhBond\\RecurringPayment\\":"vendor/saurabh-bond/recurring-payment/src"

```

Usages:
=======

[](#usages)

In your controller, add this line

```
use SaurabhBond\RecurringPayment\PaymentController as Bond;

```

then in your function or method , create the Instance of PaymentController

```
$paypalObj = Bond::createObject();

```

*(1)* to create recurring profile

call createRecurringProfile() with params as below

$description ====&gt; Description of goods or services associated with the billing agreement. This field is required for each recurring payment billing agreement. For ex- Recurring Profile for Viralgram Package of $ 7

$cancelUrl ====&gt; (Required) URL to which the buyer is returned, if something went wrong.

$returnUrl ====&gt; (Required) URL to which the buyer is returned, after successfully payment.

$ipnUrl ====&gt; mention IPN url to which IPN response will be send, For recurring Payment IPN handling is must.

*(2)* to confirm payment

In your success function ,call confirmPayment() with parmas as below

$token ====&gt; generated in first step

$description ====&gt; give the description same given for the createRecurringProfile()

$amount ====&gt; amount for what the recurring profiles is created.

$initialAmount ====&gt; If you want to charge user at the very first time.

$billingPeriod ====&gt; (Required) Unit for billing during this subscription period. Value is: Day/Week/SemiMonth/Month/Year

$billingFrequency ====&gt; (Required) Number of billing periods that make up one billing cycle.

for example,

```
  $recurringProfileDetails = json_decode(Bond::getPaymentDetails($request['token'],$description,$amount,$billingPeriod,$billingFrequency), true);

  if ($recurringProfileDetails['status'] == 200) {
    // store the profile details in database with the unique recurring profile id.
  } else {
    echo json_encode(['status' => 400, 'message' => $recurringProfileDetails['message']]);
  }

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ea716d265ee0d4171f39ac1a4ccf6f09d6be04cec1ad03de79a9a0357a75025?d=identicon)[saurabh\_globussoft](/maintainers/saurabh_globussoft)

---

Top Contributors

[![saurabh-globussoft](https://avatars.githubusercontent.com/u/16662360?v=4)](https://github.com/saurabh-globussoft "saurabh-globussoft (6 commits)")

### Embed Badge

![Health badge](/badges/saurabh-bond-recurring-payment/health.svg)

```
[![Health](https://phpackages.com/badges/saurabh-bond-recurring-payment/health.svg)](https://phpackages.com/packages/saurabh-bond-recurring-payment)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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