PHPackages                             laravel-paynamics/paygate - 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. laravel-paynamics/paygate

ActiveLibrary[Payment Processing](/categories/payments)

laravel-paynamics/paygate
=========================

Laravel 10 and 11 service provider for Paynamics Paygate SDK

1.0.3(1y ago)025MITPHPPHP ^8.1|^8.2

Since Aug 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ormelflores/paynamics-paygate)[ Packagist](https://packagist.org/packages/laravel-paynamics/paygate)[ RSS](/packages/laravel-paynamics-paygate/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Paynamics PayGate SDK Laravel PHP
=================================

[](#paynamics-paygate-sdk-laravel-php)

A Laravel PHP library for Paynamics PayGate API

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

[](#installation)

```
composer require laravel-paynamics/paygate

```

Usage
-----

[](#usage)

##### Initialize Client

[](#initialize-client)

Vanilla PHP:

```
$client = new \Laravel\Paynamics\Paygate\Client([
    'merchant_id'     => 'YOUR MERCHANT ID,
    'merchant_key'    => 'YOUR MERCHANT KEY',
    'sandbox'         => (true|false),
    'sandbox_url'     => 'TESTING URL',
    'production_url'  => 'PRODUCTION URL',
]);

```

##### Create Request Body

[](#create-request-body)

Please refer to the API Documentation for the request body parameters.

```
$requestBody = new \Laravel\Paynamics\Paygate\RequestBody([
    'request_id' => substr(uniqid(), 1, 13),
    'fname' => 'Paynamics',
    'lname' => 'Buyer',
    'address1' => '101 Oval St.',
    'city' => 'Pasig City',
    'state' => 'Metro Manila',
    'country' => 'PH',
    'zip' => '1600',
    'email' => 'buyer@example.com',
    'phone' => '+63 123 4567',
    'mobile' => '+63 999 123 4567',
    'currency' => 'PHP',
    'descriptor_note' => 'PayGate Sample Merchant',

    'notification_url' => 'http://example.com/notify',
    'response_url' => 'http://example.com/success',
    'cancel_url' => 'http://example.com/cancel',
    'mtac_url' => 'http://example.com/tnc',
    'mlogo_url' => 'http://example.com/assets/logo.png',
]);

```

##### Create Item Group and add Item

[](#create-item-group-and-add-item)

Add item details (name,quantity,amount) one by one using the `addItem` method.

```
$items = new \Paynamics\Paygate\ItemGroup;

$items->addItem([
    'name' => 'Sample Item',
    'quantity' => 1,
    'amount' => 100,
]);

```

##### Set Item Group to the request body

[](#set-item-group-to-the-request-body)

This will bind the items accordingly to the request body and computes its total amount.

```
$requestBody->setItemGroup($items);

```

##### Execute

[](#execute)

All request by the `Client` will return an auto-submit form in string.

```
$client->responsivePayment($requestBody);

```

#### Laravel Support

[](#laravel-support)

1. Add Provider to `config/app.php`.

```
Laravel\Paynamics\Paygate\Laravel\ServiceProvider::class

```

2. Add Facade to `config/app.php`.

```
'Paygate' => Laravel\Paynamics\Paygate\Laravel\Facades\Paygate::class

```

3. Execute

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

```

4. Add the following to your `.env` file

```
PAYGATE_MERCHANT_ID=
PAYGATE_MERCHANT_KEY=
PAYGATE_SANDBOX=
PAYGATE_SANDBOX_URL=
PAYGATE_PRODUCTION_URL=
PAYNAMICS_SERVER_IP_ADDRESS=

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~0 days

Total

4

Last Release

676d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/60385109?v=4)[Ormel](/maintainers/ormelflores)[@ormelflores](https://github.com/ormelflores)

---

Top Contributors

[![ormelflores](https://avatars.githubusercontent.com/u/60385109?v=4)](https://github.com/ormelflores "ormelflores (7 commits)")

---

Tags

laravelpaygatepaynamicsphp

### Embed Badge

![Health badge](/badges/laravel-paynamics-paygate/health.svg)

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

###  Alternatives

[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3720.4k](/packages/linkxtr-laravel-qrcode)

PHPackages © 2026

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