PHPackages                             paysterify/paysterify - 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. paysterify/paysterify

ActiveLibrary[Payment Processing](/categories/payments)

paysterify/paysterify
=====================

0.1.0(8y ago)0651PHP

Since Feb 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/paysterify/paysterify)[ Packagist](https://packagist.org/packages/paysterify/paysterify)[ RSS](/packages/paysterify-paysterify/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

paysterify
==========

[](#paysterify)

payment gateways for Laravel

### Example

[](#example)

```
$config = [
    // Required..
    'amount' => '2.50',
    'currency' => 'USD',

    // Optional..
    'sandbox' => true,
    'description' => 'hosting credits',

    // Depends on the gateway requirements..
    'client' => env('PAYPAL_CLIENT'),
    'secret' => env('PAYPAL_SECRET'),
    'url_return' => url('/paypal/return'),
    'url_cancel' => url('/paypal/cancel'),
];

use Illuminate\Http\Request;
use \Facades\Paysterify\Paysterify;

Route::get('/paypal', function () use ($config) {
    $paysterify = Paysterify::gateway('paysterify.paypal')->configure($config)->purchase();

    if ($paysterify->isRedirect()) {
        return $paysterify->redirect();
    }
});

Route::get('/paypal/return', function (Request $request) use ($config) {
    $paysterify = Paysterify::gateway('paysterify.paypal')->configure($config)->completePurchase([
        'paymentId' => $request->get('paymentId'),
        'payerId' => $request->get('PayerID'),
    ]);

    if ($paysterify->isCompleted()) {
        echo 'Thanks for your payment.';
    } else {
        echo 'Something went wrong, payment is not completed.';
    }
});
```

> This is a very basic paypal example, you will be able to use the almost same code for multiple gateways with some minor tweaks.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3000d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57e84844ba30eecbc2fe2b6ee26266ed5323ddf7b7de525e6764ae79dd753749?d=identicon)[cornex](/maintainers/cornex)

---

Top Contributors

[![eklundkristoffer](https://avatars.githubusercontent.com/u/6270760?v=4)](https://github.com/eklundkristoffer "eklundkristoffer (5 commits)")

### Embed Badge

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

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

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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