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 yesterday

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

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

[clickstorm/go-maps-ext

Google Maps Extension. Simply insert a google map Version 3 without jQuery, calculate a route, images for markers, style maps, KML, categories, responsive and many more.

24170.5k3](/packages/clickstorm-go-maps-ext)[thisisbd/silverstripe-maintenance-mode

SilverStripe Maintenance Mode Module. Allows an administrator to put site in offline mode with 503 status to display a 'Coming Soon', 'Under Construction' or 'Down for Maintenance' Page to regular visitors, whilst allowing a logged in admin user to browse and make changes to the site.

2311.6k](/packages/thisisbd-silverstripe-maintenance-mode)

PHPackages © 2026

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