PHPackages                             laravel-paygent/mdk - 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. laravel-paygent/mdk

ActiveLibrary

laravel-paygent/mdk
===================

Paygent Laravel MDK.

019PHP

Since Dec 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/DaiNguyen1902/Laravel-Paygent)[ Packagist](https://packagist.org/packages/laravel-paygent/mdk)[ RSS](/packages/laravel-paygent-mdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Paygent-Laravel
===============

[](#paygent-laravel)

How to install

```
composer require laravel-paygent/mdk

```

Add these below variables to the .env file:

```
PAYGENT_ENV=local
PAYGENT_MERCHANT_ID=
PAYGENT_CONNECT_ID=
PAYGENT_CONNECT_PASSWORD=
PAYGENT_TOKEN=
PAYGENT_PEM=
PAYGENT_CRT=
PAYGENT_TOKEN_HASH_KEY=
PAYGENT_TELEGRAM_VERSION=1.0

```

Add to the config/services.php file

```
'paygent' => [
    'env' => env('PAYGENT_ENV', 'local'),
    'merchant_id' => env('PAYGENT_MERCHANT_ID', ''),
    'connect_id' => env('PAYGENT_CONNECT_ID', ''),
    'connect_password' => env('PAYGENT_CONNECT_PASSWORD', ''),
    'token' => env('PAYGENT_TOKEN', ''),
    'pem' => app_path() . env('PAYGENT_PEM', ''),
    'crt' => app_path() . env('PAYGENT_CRT', ''),
    'telegram_version' => env('PAYGENT_TELEGRAM_VERSION', '1.0'),
]

```

Add to the config/logging.php file

```
'paygent' => [
    'driver' => 'daily',
    'path' => storage_path('logs/paygent/paygent.log'),
    'level' => env('LOG_LEVEL', 'debug'),
    'days' => 100,
],

```

How to make onetime payment request via Credit Card:

```
$result = app('paygent')->makeCreditCardPayment([
    "token" => "",
    "trading_id" => "",
    "payment_amount" => "",
]);

```

How to make payment request via ATM:

```
$result = app('paygent')->makeATM_PaymentRequest([
    "trading_id" => "",
    "payment_amount" => "",
    "customer_name" => "",
    "customer_family_name" => "",
    "payment_detail" => "payment detail",
    "payment_detail_kana" => "payment detail kana",
]);

```

How to make payment request via Convenience Store (number system):

```
$result = app('paygent')->makeConvenienceStorePaymentRequest([
    "trading_id" => "",
    "payment_amount" => "",
    "customer_name" => "",
    "customer_family_name" => "",
    "customer_tel" => "",
    "cvs_company_id" => "", // '00C002' => 'Lawson' | '00C004' => 'Ministop' | '00C005' => 'FamilyMart' | '00C014' => 'DailyYamazaki' | '00C016' => 'SeicoMart'
]);

```

How to make payment request via NetBanking:

```
$result = app('paygent')->makeATM_PaymentRequest([
    "trading_id" => "",
    "amount" => "",
    "customer_name" => "",
    "customer_family_name" => "",
    "claim_kana" => "claim kana",
    "claim_kanji" => "claim kanji",
]);

```

How to custom send payment request

```
$paygent = app('paygent')->getPaygent();
$paygent->reqPut("", );
...
$result = $paygent->post();
// Response data is returned
$data = $paygent->resNext();

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/67111e0b840adab192e43b0e905cdc5b85f7fac721d371cc676fdcd694b2c18e?d=identicon)[DaiNguyen1902](/maintainers/DaiNguyen1902)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/laravel-paygent-mdk/health.svg)

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

PHPackages © 2026

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