PHPackages                             yomalilabs/cartgateway-merchant - 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. [API Development](/categories/api)
4. /
5. yomalilabs/cartgateway-merchant

ActiveLibrary[API Development](/categories/api)

yomalilabs/cartgateway-merchant
===============================

Merchant API for CartGateway.

v0.0.3(3y ago)131MITPHP

Since Nov 8Pushed 1y ago5 watchersCompare

[ Source](https://github.com/yomalilabs/cartgateway-merchant)[ Packagist](https://packagist.org/packages/yomalilabs/cartgateway-merchant)[ RSS](/packages/yomalilabs-cartgateway-merchant/feed)WikiDiscussions develop Synced 2w ago

READMEChangelog (2)Dependencies (2)Versions (6)Used By (0)

Merchant Package for CartGateway API [![GitHub Action (Build and Run Tests)](https://github.com/yomalilabs/cartgateway-merchant/actions/workflows/build-and-tests.yml/badge.svg?branch=develop)](https://github.com/yomalilabs/cartgateway-merchant/actions/workflows/build-and-tests.yml/badge.svg?branch=develop)
===================================================================================================================================================================================================================================================================================================================

[](#merchant-package-for-cartgateway-api--)

[Merchant Documentation](https://cartgateway.readme.io/docs)

How To Install
--------------

[](#how-to-install)

- Download the repository to your computer. or `composer require yomalilabs/cartgateway-merchant`
- `composer install`
- Head over to the `/examples` directory to see the usage of the requests.

Hosted Checkout
---------------

[](#hosted-checkout)

You can trigger a hosted checkout request that will create the session and store the checkout. The response will include an url to redirect the client to that will be used to enter the card information. On success the client will be redirected back to the specified success url to validate the payment. The merchant will then do a validate hosted checkout request to authorize the payment was indeed a success at CartGateway.

Validate Hosted Checkout
------------------------

[](#validate-hosted-checkout)

You can trigger and validate hosted checkout request with the payment\_id.

Payment API
-----------

[](#payment-api)

- Charge Payment (sale)
- Authorize Payment
- Capture Authorized Payment
- Refund Payment
- Void Payment
- Lookup Payment Information

Tests
-----

[](#tests)

OK (100 tests, 225 assertions)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~4 days

Total

3

Last Release

1372d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef3771669683e851b720cee32f147267a7d3cf61ca41ce69600cd8fdb2f19a71?d=identicon)[bernd\_yomali](/maintainers/bernd_yomali)

---

Top Contributors

[![bernd-yomali](https://avatars.githubusercontent.com/u/92729458?v=4)](https://github.com/bernd-yomali "bernd-yomali (4 commits)")[![lokesh-kojhani](https://avatars.githubusercontent.com/u/22871387?v=4)](https://github.com/lokesh-kojhani "lokesh-kojhani (2 commits)")

---

Tags

merchantYomaliCartGateway

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yomalilabs-cartgateway-merchant/health.svg)

```
[![Health](https://phpackages.com/badges/yomalilabs-cartgateway-merchant/health.svg)](https://phpackages.com/packages/yomalilabs-cartgateway-merchant)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k55](/packages/neuron-core-neuron-ai)[files.com/files-php-sdk

Files.com PHP SDK

2482.9k](/packages/filescom-files-php-sdk)[volcengine/volcengine-php-sdk

119.5k](/packages/volcengine-volcengine-php-sdk)

PHPackages © 2026

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