PHPackages                             fadlisaad/php-touch-n-go - 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. fadlisaad/php-touch-n-go

ActiveLibrary[Payment Processing](/categories/payments)

fadlisaad/php-touch-n-go
========================

Basic implementation of Touch N Go transaction using PHP

0.9.1(3y ago)726MITPHPPHP &gt;=7.4CI failing

Since Apr 26Pushed 2y ago2 watchersCompare

[ Source](https://github.com/fadlisaad/php-touch-n-go)[ Packagist](https://packagist.org/packages/fadlisaad/php-touch-n-go)[ RSS](/packages/fadlisaad-php-touch-n-go/feed)WikiDiscussions main Synced 4w ago

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

PHP Touch N Go
==============

[](#php-touch-n-go)

Base code for Touch N Go Sandbox

Requirement
-----------

[](#requirement)

- Register with TNGDigital and get merchant ID
- replace the details in config.php
- replace sample-private-key.pem with your generated private key during registration with TNGDigital

How to install
--------------

[](#how-to-install)

```
$ composer require fadlisaad/php-touch-n-go

```

How to use
----------

[](#how-to-use)

- Refer to create-order.php on how to create new transaction
- Refer to query-order.php on how to query transaction status
- For further information please refer to the documentation provided by TNGDigital team

License
-------

[](#license)

Refer to LICENSE

Disclaimer
----------

[](#disclaimer)

This is only a quick wrapper for creating payment intent with Touch N Go using PHP. If you're using Laravel, stay tune.

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.9% 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 ~357 days

Total

2

Last Release

1117d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/268720e78200ca94fe0c028397633e0795d180005be2f5cec6e9505313a67996?d=identicon)[fadlisaad](/maintainers/fadlisaad)

---

Top Contributors

[![fadlisaad](https://avatars.githubusercontent.com/u/200320?v=4)](https://github.com/fadlisaad "fadlisaad (13 commits)")[![juzzzy](https://avatars.githubusercontent.com/u/86429475?v=4)](https://github.com/juzzzy "juzzzy (1 commits)")

### Embed Badge

![Health badge](/badges/fadlisaad-php-touch-n-go/health.svg)

```
[![Health](https://phpackages.com/badges/fadlisaad-php-touch-n-go/health.svg)](https://phpackages.com/packages/fadlisaad-php-touch-n-go)
```

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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