PHPackages                             imokhles/myfatoorah-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. [API Development](/categories/api)
4. /
5. imokhles/myfatoorah-php-sdk

ActiveLibrary[API Development](/categories/api)

imokhles/myfatoorah-php-sdk
===========================

MyFatoorah PHP SDK for MyFatoorah API V2

1.0.1(5y ago)5201GPL-3.0-or-laterPHP

Since Nov 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/iMokhles/MyFatoorah-PHP-SDK)[ Packagist](https://packagist.org/packages/imokhles/myfatoorah-php-sdk)[ RSS](/packages/imokhles-myfatoorah-php-sdk/feed)WikiDiscussions main Synced today

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

MyFatoorah-PHP-SDK
==================

[](#myfatoorah-php-sdk)

MyFatoorah PHP SDK for MyFatoorah API V2

 [![](https://camo.githubusercontent.com/b32e9511be3e0eaad59f39d8052fbe05e91bce99bc2f24ec80b58edbb9cffe6e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696d6f6b686c65732f6d796661746f6f7261682d7068702d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/imokhles/myfatoorah-php-sdk "Latest Version on Packagist") [![](https://camo.githubusercontent.com/76ef6764a9644c84e2de940bb5170e0ea93f44b5cf1d895db4d84f5b731578c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696d6f6b686c65732f6d796661746f6f7261682d7068702d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/imokhles/myfatoorah-php-sdk "Total Downloads")

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

[](#how-to-use)

Documentation will come later, till i finish it, check the tests folder

- [SendPaymentTest.php](tests/iMokhles/MyFatoorahAPI/Test/PaymentOperations/SendPaymentTest.php)

Features
--------

[](#features)

#### Payment Operations

[](#payment-operations)

- Initiate Payment
- Execute Payment
- Offline Payment
- Direct Payment
- Get Payment Status
- Get Active Recurring Payment
- Cancel Recurring Payment
- Cancel Token
- Pay With Card
- Pay With Token
- Refund Payment

#### List Operations

[](#list-operations)

- Get Banks
- Get Currencies Exchange List

#### Shipping Operations ( not tested )

[](#shipping-operations--not-tested-)

- Calculate Shipping Charge
- Update Shipping Status
- Request Pickup
- Get Shipping Order List
- Get Countries List
- Get Cities List

#### Todo

[](#todo)

- Clean and comment code
- Improve exceptions handlers
- Add tests
- Add more tests
- Add CI

Author
------

[](#author)

[Mokhlas Hussein](https://twitter.com/imokhles)

### Thanks

[](#thanks)

[MyFatoorah API Documentation](https://myfatoorah.readme.io/docs)[MyFatoorah API Swagger](https://apitest.myfatoorah.com/swagger/ui/index)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.1% 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 ~51 days

Total

2

Last Release

2008d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57b8493865caa43e232d5ed05770d2b848e13ee9c39aec0de3f7ebd12dab2882?d=identicon)[iMokhles](/maintainers/iMokhles)

---

Top Contributors

[![iMokhles](https://avatars.githubusercontent.com/u/1247248?v=4)](https://github.com/iMokhles "iMokhles (16 commits)")[![baselrabia](https://avatars.githubusercontent.com/u/27627958?v=4)](https://github.com/baselrabia "baselrabia (1 commits)")

---

Tags

myfatoorahmyfatoorah-apimyfatoorah-php-sdkpay

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M982](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)

PHPackages © 2026

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