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

ActiveLibrary

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 1mo ago

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 32% 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

850d ago

Major Versions

v1.0 → v2.02024-01-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/373d53384fc32f5b29bb703b824eddea40f16520e2d29f6c86a23dc17c35fa05?d=identicon)[Trungnv](/maintainers/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

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

120220.7k1](/packages/ellaisys-aws-cognito)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)

PHPackages © 2026

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