PHPackages                             pay-hub/sdk-laravel - 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. pay-hub/sdk-laravel

ActiveLibrary[Payment Processing](/categories/payments)

pay-hub/sdk-laravel
===================

Payment Hub SDK for Laravel

v0.1.0(4mo ago)01MITPHPPHP &gt;=8.1

Since Dec 21Pushed 4mo agoCompare

[ Source](https://github.com/nabilrt/pay-hub-laravel)[ Packagist](https://packagist.org/packages/pay-hub/sdk-laravel)[ Docs](https://github.com/your-org/payment-hub)[ RSS](/packages/pay-hub-sdk-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

payment-hub/sdk-laravel
=======================

[](#payment-hubsdk-laravel)

Minimal SDK for generating Payment Hub `/pay` URLs and verifying return signatures.

Install
-------

[](#install)

```
composer require payment-hub/sdk-laravel
```

Env config
----------

[](#env-config)

```
PAYMENT_HUB_BASE_URL=https://pay.example.com
PAYMENT_HUB_CLIENT_ID=client_abc
PAYMENT_HUB_CLIENT_SECRET=super_secret

```

Usage
-----

[](#usage)

```
use PaymentHub\PaymentHub;

$url = PaymentHub::createPayUrl([
  "order_id" => "ORD_1001",
  "amount" => 5000,
  "currency" => "USD",
  "return_url" => "https://app.example.com/payment-result",
]);

$result = PaymentHub::verifyReturn($_GET);
```

API
---

[](#api)

- `createPayUrl(array $params, array $config = [])`
- `verifyReturn(array $params, array $config = [])` → `["valid" => bool, "params" => array]`

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance74

Regular maintenance activity

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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

142d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2944b3d42faa12d49de233debe8e66370a486847e242d8f3bc12d8c01761295b?d=identicon)[nabilrt](/maintainers/nabilrt)

---

Top Contributors

[![nabilrt](https://avatars.githubusercontent.com/u/67606812?v=4)](https://github.com/nabilrt "nabilrt (1 commits)")

---

Tags

laravelstripepaymentscheckoutpayment-hub

### Embed Badge

![Health badge](/badges/pay-hub-sdk-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/pay-hub-sdk-laravel/health.svg)](https://phpackages.com/packages/pay-hub-sdk-laravel)
```

###  Alternatives

[enupal/stripe

Allows customers sign up for recurring and one-time payments with Stripe, perfect for orders, donations, subscriptions, and events. Create simple payment forms in seconds easily without coding. For Craft CMS 3.x

3416.5k1](/packages/enupal-stripe)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[tomatophp/filament-payments

Manage your payments inside FilamentPHP app with multi payment gateway integration

542.3k](/packages/tomatophp-filament-payments)[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)
