PHPackages                             nattreid/comgate - 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. nattreid/comgate

ActiveLibrary[Payment Processing](/categories/payments)

nattreid/comgate
================

Comgate for Nette Framework

1.1.3(7y ago)0153MITPHPPHP &gt;= 7.1

Since Nov 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nattreid/comgate)[ Packagist](https://packagist.org/packages/nattreid/comgate)[ RSS](/packages/nattreid-comgate/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (6)Versions (7)Used By (0)

Comgate pro Nette Framework
===========================

[](#comgate-pro-nette-framework)

Nastavení v **config.neon**

```
extensions:
    comgate: NAttreid\Comgate\DI\ComgateExtension

comgate:
    paymentsUrl: https://payments.comgate.cz/v1.0/
    merchant: 123456
    debug: true
    password: password
```

### Použití

[](#použití)

```
/** @var \NAttreid\Comgate\ComgateClient @inject */
public $comgateClient;

private function actionProcess(): void {
    $comgateClient = $this->comgateClient;

    $transaction= new \NAttreid\Comgate\Helpers\Transaction;
    $transaction->refId=$this->order->id;
    $transaction->country=$this->order->customer->country->code;
    $transaction->currency=$this->order->currency->code;
    $transaction->price=$this->order->price;

    $response = $comgate->transaction($transaction);

    $this->order->setComgateTransactionId($response->transactionId);

    $this->sendResponse($response->response);
}

private function actionRefund(float $price): void {
    $comgateClient = $this->comgateClient;

    $refund = new \NAttreid\Comgate\Helpers\Refund;
    $refund->transactionId = $this->order->comgateTransactionId;
    $refund->price = $price;
    $refund->currency = $this->order->currency->code;

    $response = $comgateClient->refund($refund);

    return $response->isOk();
}

public function actionComgateStatus(): void
	{
		$response = $this->comgateClient->getStatus();
		if ($response->isOk()) {
			if ($response->status === 'PAID') {
				// paid code
			}
		} else {
			// error code
		}

		$this->sendResponse($response->reponse);
	}
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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 ~5 days

Total

6

Last Release

2757d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a388aeb3f00b15a3af1c1a5d3a2107c94af1730c6043dd30ce32a63f95ea290?d=identicon)[attreid](/maintainers/attreid)

### Embed Badge

![Health badge](/badges/nattreid-comgate/health.svg)

```
[![Health](https://phpackages.com/badges/nattreid-comgate/health.svg)](https://phpackages.com/packages/nattreid-comgate)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k36](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k13](/packages/tempest-framework)[shetabit/multipay

PHP Payment Gateway Integration Package

293361.0k4](/packages/shetabit-multipay)

PHPackages © 2026

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