PHPackages                             payxy/laravel-payment-checkout - 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. payxy/laravel-payment-checkout

ActiveLibrary

payxy/laravel-payment-checkout
==============================

Laravel SDK for Payxy Payment Gateway

v1.0.2(2mo ago)02MITPHPPHP ^8.2

Since Mar 3Pushed 2mo agoCompare

[ Source](https://github.com/Proximaforte/payxy-laravel-checkout)[ Packagist](https://packagist.org/packages/payxy/laravel-payment-checkout)[ RSS](/packages/payxy-laravel-payment-checkout/feed)WikiDiscussions master Synced 1mo ago

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

Payxy Laravel SDK
=================

[](#payxy-laravel-sdk)

A lightweight and easy-to-use Laravel SDK for integrating the Payxy Payment Gateway. This package supports Card, Bank Transfer, and USSD payments, including a pre-built Blade component for seamless checkout.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require payxy/laravel-checkout
```

The package will automatically register its service provider and facade.

Configuration
-------------

[](#configuration)

Publish the configuration file to your project:

```
php artisan vendor:publish --tag="payxy-config"
```

This will create a `config/payxy.php` file. You should then add your Payxy credentials to your `.env` file:

```
PAYXY_BASE_URL=https://api.payxy.africa
PAYXY_API_TOKEN=your_api_token_here
PAYXY_PUBLIC_KEY=your_public_key_here
```

Usage
-----

[](#usage)

### 1. Frontend Checkout (Blade Component)

[](#1-frontend-checkout-blade-component)

To use the inline checkout, simply drop the `` component into your Blade view.

```

```

### 2. Backend API (Facade)

[](#2-backend-api-facade)

You can use the `Payxy` facade to interact with the API directly for server-side payment initialization or bank lists.

#### Get USSD Banks

[](#get-ussd-banks)

```
use Payxy\Checkout\Facades\Payxy;

$banks = Payxy::getUSSDBanks();
```

#### Initiate Bank Transfer or USSD Payment

[](#initiate-bank-transfer-or-ussd-payment)

```
use Payxy\Checkout\Facades\Payxy;

$paymentInfo = [
    'reference' => 'TXN_123456',
    'amount' => 5000,
    'email' => 'customer@example.com',
    'callbackUrl' => route('payment.callback'),
];

// For USSD
$response = Payxy::initiatePayment($paymentInfo, 'USSD', '058'); // 058 is GTBank code

// For Bank Transfer
$response = Payxy::initiatePayment($paymentInfo, 'BANK_TRANSFER');
```

#### Verify Webhook Signature

[](#verify-webhook-signature)

Ensure your webhook endpoints are secure by verifying the signature:

```
use Payxy\Checkout\Facades\Payxy;

$payload = $request->getContent();
$signature = $request->header('X-Payxy-Signature');
$secret = config('payxy.api_token');

if (Payxy::verifyWebhook($payload, $signature, $secret)) {
    // Valid request, process the payment
}
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance86

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Every ~0 days

Total

3

Last Release

71d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/397bf34aa7d4ed7ed0eda43bb08b291007afd2ffc32601c2afc55bfc3bc76fb0?d=identicon)[tegritechng](/maintainers/tegritechng)

### Embed Badge

![Health badge](/badges/payxy-laravel-payment-checkout/health.svg)

```
[![Health](https://phpackages.com/badges/payxy-laravel-payment-checkout/health.svg)](https://phpackages.com/packages/payxy-laravel-payment-checkout)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)

PHPackages © 2026

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