PHPackages                             msmoney\_sdk/php-sdk - 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. msmoney\_sdk/php-sdk

ActiveLibrary[Payment Processing](/categories/payments)

msmoney\_sdk/php-sdk
====================

The comprehensive Yemeni payment platform

02PHP

Since Aug 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mohmmed246741/MSMoney_sdk)[ Packagist](https://packagist.org/packages/msmoney_sdk/php-sdk)[ RSS](/packages/msmoney-sdk-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

The comprehensive Yemeni payment platform

install package composer require msmoney\_sdk/php-sdk

create file example.php and add code:

psr-0) of (php-sdk/composer.json) file to your desired name and run "composer dump-autoload" command from sdk root use MsmoneySdk\\PhpSdk\\Msmoney\\Api\\Amount; use MsmoneySdk\\PhpSdk\\Msmoney\\Api\\Payer; use MsmoneySdk\\PhpSdk\\Msmoney\\Api\\Payment; use MsmoneySdk\\PhpSdk\\Msmoney\\Api\\RedirectUrls; use MsmoneySdk\\PhpSdk\\Msmoney\\Api\\Transaction; //Payer Object $payer = new Payer(); $payer-&gt;setPaymentMethod('PayMoney'); //preferably, your system name, example - Msmoney //Amount Object $amountIns = new Amount(); $amountIns-&gt;setTotal(4.99)-&gt;setCurrency('USD'); //must give a valid currency code and must exist in merchant wallet list //Transaction Object $trans = new Transaction(); $trans-&gt;setAmount($amountIns); //RedirectUrls Object $urls = new RedirectUrls(); $urls-&gt;setSuccessUrl('') //success url - the merchant domain page, to redirect after successful payment, see sample example-success.php file in sdk root, example - [http://mscloud.net/Msmoney\_sdk/example-success.php](http://mscloud.net/Msmoney_sdk/example-success.php)-&gt;setCancelUrl(''); //cancel url - the merchant domain page, to redirect after cancellation of payment, example - [http://Msmoney.net/Msmoney\_sdk/](http://Msmoney.net/Msmoney_sdk/)//Payment Object $payment = new Payment(); $payment-&gt;setCredentials(\[ //Client ID &amp; Secret = Merchants-&gt;setting(gear icon) 'client\_id' =&gt; 'place your client id here', //must provide correct client id of an express merchant 'client\_secret' =&gt; 'place your client secret here', //must provide correct client secret of an express merchant \]) -&gt;setRedirectUrls($urls) -&gt;setPayer($payer) -&gt;setTransaction($trans); try { $payment-&gt;create(); //create payment header("Location: " . $payment-&gt;getApprovedUrl()); //checkout url } catch (\\Exception $ex) { print $ex; exit; } and create file example-success.php and add code:
'; $decoded = json\_decode(base64\_decode($encoded), TRUE); // var\_dump($decoded); // echo '

'; if ($decoded\["status"\] == 200) { // do anything here, i.e. display to merchant domain pages or insert data into merchant domain's database echo "Status =&gt; " . $decoded\["status"\] . "
"; echo "Transaction ID =&gt; " . $decoded\["transaction\_id"\] . "
"; echo "Merchant =&gt; " . $decoded\["merchant"\] . "
"; // echo "Currency =&gt; " . $decoded\["currency"\] . "
"; // echo "Amount =&gt; " . $decoded\["amount"\] . "
"; // echo "Fee =&gt; " . $decoded\["fee"\] . "
"; // echo "Total =&gt; " . $decoded\["total"\] . "
"; } } ?&gt;

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/53527963?v=4)[mohmmed246741](/maintainers/mohmmed246741)[@mohmmed246741](https://github.com/mohmmed246741)

---

Top Contributors

[![mohmmed246741](https://avatars.githubusercontent.com/u/53527963?v=4)](https://github.com/mohmmed246741 "mohmmed246741 (2 commits)")

### Embed Badge

![Health badge](/badges/msmoney-sdk-php-sdk/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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