PHPackages                             tomaj/php-payments - 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. tomaj/php-payments

ActiveLibrary[Payment Processing](/categories/payments)

tomaj/php-payments
==================

PHP ePayment library

1.15(8y ago)96.2k6[2 issues](https://github.com/tomaj/php-payments/issues)LGPLPHPPHP &gt;=5.3.0

Since Mar 31Pushed 8y ago3 watchersCompare

[ Source](https://github.com/tomaj/php-payments)[ Packagist](https://packagist.org/packages/tomaj/php-payments)[ RSS](/packages/tomaj-php-payments/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (1)Versions (19)Used By (0)

Tomaj/PHPpayments
=================

[](#tomajphppayments)

Requirements
------------

[](#requirements)

Tomaj/PHPPayments requires PHP 5.3.0 or higher.

If you would like to use wrapper classes from Tomaj\\Epayment namespace you will need define some constants. You can find example in src/example\_constants.php which is using monogram [epayment simulator](http://epaymentsimulator.monogram.sk).

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

[](#installation)

The best way to install Tomaj/PHPpayemnts is using [Composer](http://getcomposer.org/):

```
$ composer require tomaj/php-payments
```

Background
----------

[](#background)

This library is base on MONOGRAM epayment. I created this repository for composer to simplify adding this library to projects. You can found more information about library in  or in my other forked github repository here ([https://github.com/tomaj/EPayment)\[https://github.com/tomaj/EPayment\]](https://github.com/tomaj/EPayment)%5Bhttps://github.com/tomaj/EPayment%5D).

ComforPay
---------

[](#comforpay)

For using ComfortPay you need to define this constants:

- TB\_COMFORTPAY\_MID - constant from tatrabanka (use like tatrapay)
- TB\_COMFORTPAY\_WS\_MID - constant from tatrabanka
- TB\_COMFORTPAY\_SHAREDSECRET - constant from tatrabanka (use like tatrapay)
- TB\_COMFORTPAY\_REDIRECTURLBASE - same usage as tatrapay
- TB\_COMFORTPAY\_TERMINALID - number from tatrabanka
- TB\_COMFORTPAY\_LOCAL\_CERT\_PATH - cert file path
- TB\_COMFORTPAY\_PASSPHRASE\_PATH - path to file with passprase for cert
- TB\_COMFORTPAY\_REM - email address
- TB\_COMFORTPAY\_TEM - email address

---

Repository .

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 87.2% 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 ~84 days

Recently: every ~96 days

Total

17

Last Release

3077d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/875f8397233f01d81479a45bf6a64ca995f04d8ee9e72118f2ffcf129c502f12?d=identicon)[tomaj](/maintainers/tomaj)

---

Top Contributors

[![tomaj](https://avatars.githubusercontent.com/u/446736?v=4)](https://github.com/tomaj "tomaj (34 commits)")[![freezy-sk](https://avatars.githubusercontent.com/u/661637?v=4)](https://github.com/freezy-sk "freezy-sk (3 commits)")[![lulco](https://avatars.githubusercontent.com/u/9377319?v=4)](https://github.com/lulco "lulco (1 commits)")[![rootpd](https://avatars.githubusercontent.com/u/812909?v=4)](https://github.com/rootpd "rootpd (1 commits)")

---

Tags

paymentpaypalwebpaytatrapaycardpaysporopayeplatba

### Embed Badge

![Health badge](/badges/tomaj-php-payments/health.svg)

```
[![Health](https://phpackages.com/badges/tomaj-php-payments/health.svg)](https://phpackages.com/packages/tomaj-php-payments)
```

###  Alternatives

[payum/payum

One million downloads of Payum already! Payum offers everything you need to work with payments. Friendly for all PHP frameworks (Symfony, Laravel, Laminas, Yii, Silex). Check more visiting site.

1.9k6.6M21](/packages/payum-payum)[payum/payum-bundle

One million downloads of Payum already! Payum offers everything you need to work with payments. Check more visiting site.

59510.3M40](/packages/payum-payum-bundle)[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[shetabit/payment

Laravel Payment Gateway Integration Package

944330.1k5](/packages/shetabit-payment)[backbone/chaching

Universal payment library for banking services in Slovakia

124.7k](/packages/backbone-chaching)[shetabit/multipay

PHP Payment Gateway Integration Package

291348.2k3](/packages/shetabit-multipay)

PHPackages © 2026

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