PHPackages                             gmo-ecs/gmo-pg - 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. gmo-ecs/gmo-pg

ActiveLibrary[Payment Processing](/categories/payments)

gmo-ecs/gmo-pg
==============

Core Gmo Payment Services

v2.0(2y ago)148MITPHPPHP ^7.3|^8.0

Since Sep 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/trungnv-dev/gmo-pg)[ Packagist](https://packagist.org/packages/gmo-ecs/gmo-pg)[ RSS](/packages/gmo-ecs-gmo-pg/feed)WikiDiscussions main Synced today

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

esc-gmo-pg
==========

[](#esc-gmo-pg)

Core Gmo Payment Services

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

[](#installation)

Require this package with composer.

```
composer require gmo-ecs/gmo-pg
```

Copy the package config to your local config with the publish command

```
php artisan vendor:publish --provider="Ecs\GmoPG\Providers\GmoPGServiceProvider"
```

Setup `.env`

```
SITE_ID="{$SITE_ID}"
SITE_PASS="{$SITE_PASS}"
SHOP_ID="{$SHOP_ID}"
SHOP_PASS="{$SHOP_PASS}"
GMO_PAYMENT_URL="{$GMO_PAYMENT_URL}"
```

Example
-------

[](#example)

1. Call function

```
use Ecs\GmoPG\Services\MemberCardService;

resolve(MemberCardService::class)
    ->searchCard([
        'MemberID' => $gmoMemberId
    ]);
```

2. If success

```
[
    "CardSeq" => "0|1"
    "DefaultFlag" => "0|0"
    "CardName" => "|"
    "CardNo" => "411*********1113|411*********1111"
    "Expire" => "2305|2305"
    "HolderName" => "NGUYEN VAN A|NGUYEN VAN A"
    "DeleteFlag" => "0|0"
]
```

3. If errors

```
[
    "ErrCode" => "E01|E01"
    "ErrInfo" => "E01390002|E01240002"
    "errors" => array:2 [
        "E01390002" => "指定されたサイト ID と会員 ID の会員が存在しません。"
        "E01240002" => "指定されたカードが存在しません。"
    ]
]
```

Note
----

[](#note)

1. You can change or add new error messages in the file `resources/lang/ja/gmopg-errors.php`
2. You can add new configuration about gmopg in file `config/gmopg.php`

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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 ~102 days

Total

2

Last Release

905d ago

Major Versions

v1.0 → v2.02024-01-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/262864?v=4)[Trungnv](/maintainers/Trungnv)[@trungnv](https://github.com/trungnv)

---

Top Contributors

[![trungnv-dev](https://avatars.githubusercontent.com/u/106644937?v=4)](https://github.com/trungnv-dev "trungnv-dev (8 commits)")

---

Tags

phplaravelECSgmogmo-pg

### Embed Badge

![Health badge](/badges/gmo-ecs-gmo-pg/health.svg)

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

###  Alternatives

[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4851.0k](/packages/sebdesign-laravel-viva-payments)

PHPackages © 2026

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