PHPackages                             mrthebank/truewallet - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mrthebank/truewallet

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mrthebank/truewallet
====================

PHP Package - TrueWallet Gift Code

1.0(5y ago)113MITPHPPHP &gt;=5.6

Since Jun 21Pushed 5y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Installation
============

[](#installation)

```
composer require mrthebank/truewallet

```

Usage
=====

[](#usage)

```
use MrTheBank\TrueWallet\TrueWallet;

$tw = new TrueWallet('YOUR PHONE NUMBER');
$ret = $tw->Redeem('https://gift.truemoney.com/campaign/?v=XXXXXXXXXXXXXXXXXX');

if ($ret['status']['code'] != 'SUCCESS' && $ret['data']['voucher']['member'] == '1') {
    echo $ret['data']['voucher']['amount_baht']; // X.XX
} else {
    echo $ret['status']['message'];
    echo $ret['status']['code'];
}
```

If you want to see full response then do

```
use MrTheBank\TrueWallet\TrueWallet;

$tw = new TrueWallet('YOUR PHONE NUMBER');
$ret = $tw->Redeem('https://gift.truemoney.com/campaign/?v=XXXXXXXXXXXXXXXXXX');

echo '';
print_r($ret);
echo ''
```

Reference
=========

[](#reference)

[https://github.com/Mixzis/truewalletgift-php/blob/main/rb\_tw.class.php](https://github.com/Mixzis/truewalletgift-php/blob/main/rb_tw.class.php)

License
=======

[](#license)

The MIT License (MIT)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1885d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16158569?v=4)[Ponlapat Ittiratchapong](/maintainers/MrTheBank)[@MrTheBank](https://github.com/MrTheBank)

---

Top Contributors

[![MrTheBank](https://avatars.githubusercontent.com/u/16158569?v=4)](https://github.com/MrTheBank "MrTheBank (3 commits)")

### Embed Badge

![Health badge](/badges/mrthebank-truewallet/health.svg)

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

###  Alternatives

[trustpilot/module-reviews

The Trustpilot Review extension makes it simple and easy for merchants to collect reviews from their customers to power their marketing efforts, increase sales conversion, build their online reputation and draw business insights.

11946.9k](/packages/trustpilot-module-reviews)

PHPackages © 2026

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