PHPackages                             slowprog/maxmind-minfraud-chargeback - 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. slowprog/maxmind-minfraud-chargeback

ActiveLibrary[API Development](/categories/api)

slowprog/maxmind-minfraud-chargeback
====================================

Client for Maxmind's minFraud Chargeback Web Service.

1.0.0(6y ago)057MITPHPPHP ~5.4|~7.0

Since Nov 11Pushed 6y agoCompare

[ Source](https://github.com/slowprog/maxmind-minfraud-chargeback)[ Packagist](https://packagist.org/packages/slowprog/maxmind-minfraud-chargeback)[ Docs](https://github.com/slowprog/maxmind-minfraud-chargeback/)[ RSS](/packages/slowprog-maxmind-minfraud-chargeback/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

MaxMind minFraud Chargeback API Client
======================================

[](#maxmind-minfraud-chargeback-api-client)

[![Build Status](https://camo.githubusercontent.com/657ed59d8a8335bf8c2e66aee69f91d463061f274f37b10868d0ee9845031948/68747470733a2f2f7472617669732d63692e6f72672f736c6f7770726f672f6d61786d696e642d6d696e66726175642d6368617267656261636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/slowprog/maxmind-minfraud-chargeback)

This is a client for [MaxMind's minFraud Chargeback Web Service Api](http://dev.maxmind.com/minfraud/chargeback/).

This is NOT an official implementation, although it was written following official documentation.

Install
-------

[](#install)

Via Composer

```
$ composer require slowprog/maxmind-minfraud-chargeback
```

Usage
-----

[](#usage)

Please read

```
use MaxMind\MinFraudChargeback\Chargeback;
use MaxMind\MinFraudChargeback\Manager;
use MaxMind\MinFraudChargeback\Auth\Credential;

$chargeback = new Chargeback('77.77.77.77');
$chargeback->setChargebackCode('CHARGEBACK_STRING')
    ->setTag(Chargeback::TAG_SUSPECTED_FRAUD)
    ->setMaxmindId('XXXXXXXX')
    ->setMinfraudId('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx')
    ->setTransactionId('XXXXXX');

$manager = new Manager(new Credential('XXXXX', 'XXXXXXXXXXXX'));
$manager->setConnectTimeout(1)
    ->setTimeout(1);

try {
    $manager->report($chargeback);
} catch (Exception $exc) {
    echo $exc->getMessage();
}
```

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

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

2371d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/735b7088892b075797ec25d73d571cc2961e26eb9e4d3ea56c12af22c1f1db95?d=identicon)[SlowProg](/maintainers/SlowProg)

---

Top Contributors

[![slowprog](https://avatars.githubusercontent.com/u/1294672?v=4)](https://github.com/slowprog "slowprog (8 commits)")[![pachico](https://avatars.githubusercontent.com/u/2184438?v=4)](https://github.com/pachico "pachico (3 commits)")

---

Tags

apiclientmaxmindfraudminfraudchargebackminfraud-chargeback

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/slowprog-maxmind-minfraud-chargeback/health.svg)

```
[![Health](https://phpackages.com/badges/slowprog-maxmind-minfraud-chargeback/health.svg)](https://phpackages.com/packages/slowprog-maxmind-minfraud-chargeback)
```

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[smnandre/pagespeed-api

PageSpeed Insight PHP Api Client 🚀 Analyse web pages for performances metrics, core web vitals...

1511.5k](/packages/smnandre-pagespeed-api)[modelflow-ai/ollama

Client for ollama API.

131.3k4](/packages/modelflow-ai-ollama)

PHPackages © 2026

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