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 11mo 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 today

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

Maintenance38

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

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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M987](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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