PHPackages                             lyrasoft/shopgo-ecpay - 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. lyrasoft/shopgo-ecpay

ActiveShopgo-package[Payment Processing](/categories/payments)

lyrasoft/shopgo-ecpay
=====================

ShopGo Ecpay package

1.1.1(7mo ago)06921[4 issues](https://github.com/lyrasoft/shopgo-ecpay/issues)MITPHPPHP &gt;=8.4.6

Since Feb 28Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/lyrasoft/shopgo-ecpay)[ Packagist](https://packagist.org/packages/lyrasoft/shopgo-ecpay)[ RSS](/packages/lyrasoft-shopgo-ecpay/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (16)Used By (0)

LYRASOFT ShopGO Ecpay Package
=============================

[](#lyrasoft-shopgo-ecpay-package)

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

[](#installation)

Install from composer

```
composer require lyrasoft/shopgo-ecpay
```

Register to shopgo config:

```
use Lyrasoft\ShopGo\Ecpay\EcpayPayment;
use Lyrasoft\ShopGo\Ecpay\EcpayShipping;

return [
    //...

    'shipping' => [
        'types' => [
            // ...
            'ecpay' => EcpayShipping::class, //  [
        'types' => [
            // ...
            'ecpay' => EcpayPayment::class, //  [
        // ...

        'cookie_params' => [
            // ...
            'secure' => true, //  CookiesInterface::SAMESITE_NONE, // Set this to `SAMESITE_NONE`
        ],
```

### CSRF

[](#csrf)

Since Ecpay may call back to out website, you must exclude 2 routes from CSRF at `front.route.php`:

```
// front.route.php

    ->middleware(
        CsrfMiddleware::class,
        excludes: [
            'front::backup',
            'front::shipping_task',
            'front::payment_task',
        ]
    )
```

JS
--

[](#js)

After composer install, Wil automatically install the required JS packages.

```
  "@lyrasoft/shopgo-ecpay": "portal:./vendor/lyrasoft/shopgo-ecpay/assets"
```

Run:

```
yarn install
```

Then add this to `front/main.ts` after `useShopGoCatalog()`

```
// front/main.ts

+import { useShopGoEcpay } from '@lyrasoft/shopgo-ecpay';

// ...

useShopGoCatalog();
+useShopGoEcpay();
```

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance63

Regular maintenance activity

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 98.1% 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 ~70 days

Recently: every ~216 days

Total

15

Last Release

225d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1639206?v=4)[Simon Asika](/maintainers/asika32764)[@asika32764](https://github.com/asika32764)

---

Top Contributors

[![asika32764](https://avatars.githubusercontent.com/u/1639206?v=4)](https://github.com/asika32764 "asika32764 (52 commits)")[![chokeslam](https://avatars.githubusercontent.com/u/34531644?v=4)](https://github.com/chokeslam "chokeslam (1 commits)")

---

Tags

shopgo-package

### Embed Badge

![Health badge](/badges/lyrasoft-shopgo-ecpay/health.svg)

```
[![Health](https://phpackages.com/badges/lyrasoft-shopgo-ecpay/health.svg)](https://phpackages.com/packages/lyrasoft-shopgo-ecpay)
```

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)[omnipay-taiwan/omnipay-ecpay

ECPay driver for the Omnipay payment processing library

141.9k](/packages/omnipay-taiwan-omnipay-ecpay)

PHPackages © 2026

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