PHPackages                             minfraud/http - 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. minfraud/http

Abandoned → [maxmind/minfraud](/?search=maxmind%2Fminfraud)ArchivedLibrary[API Development](/categories/api)

minfraud/http
=============

MaxMind minFraud HTTP API

v1.71(9y ago)23989.5k—6.4%22[1 issues](https://github.com/maxmind/ccfd-api-php/issues)1LGPL-2.1+PHP

Since Jun 25Pushed 5y ago20 watchersCompare

[ Source](https://github.com/maxmind/ccfd-api-php)[ Packagist](https://packagist.org/packages/minfraud/http)[ Docs](https://github.com/maxmind/ccfd-api-php)[ RSS](/packages/minfraud-http/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (6)Used By (1)

Maxmind minFraud PHP API
========================

[](#maxmind-minfraud-php-api)

Deprecation
-----------

[](#deprecation)

This library is deprecated. Please use our [minFraud Score, Insights, and Factors API](https://github.com/maxmind/minfraud-api-php).

Install via Composer
--------------------

[](#install-via-composer)

We recommend installing this package with [Composer](http://getcomposer.org/).

### Download Composer

[](#download-composer)

To download Composer, run in the root directory of your project:

```
curl -sS https://getcomposer.org/installer | php
```

You should now have the file `composer.phar` in your project directory.

### Install Dependencies

[](#install-dependencies)

Run in your project root:

```
php composer.phar require minfraud/http:~1.70

```

You should now have the files `composer.json` and `composer.lock` as well as the directory `vendor` in your project directory. If you use a version control system, `composer.json` should be added to it.

### Require Autoloader

[](#require-autoloader)

After installing the dependencies, you need to require the Composer autoloader from your code:

```
require 'vendor/autoload.php';
```

Install without Composer
------------------------

[](#install-without-composer)

Place the files in the `src` directory in the `include_path` as specified in your `php.ini` file or place them in the same directory as your PHP scripts.

Example Scripts
---------------

[](#example-scripts)

See `examples/minfraud.php` for complete example how to use this API with the minFraud service.

These scripts can be run from the shell.

Usage
-----

[](#usage)

```
