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

26

—

LowBetter than 43% of packages

Maintenance41

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity40

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

1274d 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

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[vitalybaev/google-merchant-feed

PHP package for creating Google Merchant products feed

91979.4k4](/packages/vitalybaev-google-merchant-feed)[coinpaymentsnet/coinpayments-php

A PHP wrapper for the CoinPayments.net v1 API.

55126.2k](/packages/coinpaymentsnet-coinpayments-php)

PHPackages © 2026

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