PackageTrack
Sign in Get early access

maxmind/minfraud

MaxMind minFraud API

v3.7.0 2.3M downloads/mo #4533 most downloaded on Packagist maxmind/minfraud-api-php

What this package is like to depend on

Last release 1 months ago

21 Jul 2026

Ships fairly regularly

a new release about every 3 months

Nearly every release is documented

notes for 46 of 46 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

48 releases · first in 2015

4 releases in the last 12 months

see the full history below

Release timeline

48 releases · Jun 2015 to Jul 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 48
  1. v3.7.0 21 Jul 2026
    Release notes
    • Added the residential property to the anonymizer object on
      MaxMind\MinFraud\Model\IpAddress. This is a GeoIp2\Record\AnonymizerFeed
      object providing residential proxy data for the network: confidence,
      networkLastSeen, and providerName. It may be populated even when no
      other anonymizer properties are set. This data is available from the
      minFraud Insights and Factors web services. geoip2/geoip2 3.4.0 is now
      required for this data.
    • Added tracking_token to the /device request object. This is the
      token generated by the
      Device Tracking Add-on
      for explicit device linking.
    • Added fat_zebra to the payment processor validation.
    • Added clear to the valid values for the tag parameter on the Report
      Transaction API.
    Open source →
    Release notes
    • Added the residential property to the anonymizer object on MaxMind\MinFraud\Model\IpAddress. This is a GeoIp2\Record\AnonymizerFeed object providing residential proxy data for the network: confidence, networkLastSeen, and providerName. It may be populated even when no other anonymizer properties are set. This data is available from the minFraud Insights and Factors web services. geoip2/geoip2 3.4.0 is now required for this data.
    • Added tracking_token to the /device request object. This is the token generated by the Device Tracking Add-on for explicit device linking.
    • Added fat_zebra to the payment processor validation.
    • Added clear to the valid values for the tag parameter on the Report Transaction API.
    Open source →
    Release notes

    3.7.0 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. v3.6.0 20 Jan 2026
    Release notes
    • Added the anonymizer property to MaxMind\MinFraud\Model\IpAddress. This
      contains anonymizer data from the GeoIP2 Insights response, including VPN
      detection confidence, provider name, and network last seen date. This was
      previously available in the GeoIP2 library but not exposed in minFraud
      responses.
    • Added banquest, summit_payments, and yaadpay to the payment processor
      validation.
    Open source →
    Release notes
    • Added the anonymizer property to MaxMind\MinFraud\Model\IpAddress. This contains anonymizer data from the GeoIP2 Insights response, including VPN detection confidence, provider name, and network last seen date. This was previously available in the GeoIP2 library but not exposed in minFraud responses.
    • Added banquest, summit_payments, and yaadpay to the payment processor validation.
    Open source →
    Release notes

    3.6.0

    Compare

    Choose a tag to compare

    Open source →
  3. v3.5.0 20 Nov 2025
    Release notes
    • Added support for new /email/domain/ outputs in minFraud Insights and
      Factors responses:
      • /email/domain/classification - categorizes the email domain type
        (business, education, government, isp_email)
      • /email/domain/risk - risk score associated with the domain (0.01 to 99)
      • /email/domain/volume - activity level across the minFraud network
        (sightings per million)
      • /email/domain/visit/has_redirect - whether the domain redirects
      • /email/domain/visit/last_visited_on - date of last automated check
      • /email/domain/visit/status - domain status (live, dns_error,
        network_error, http_error, parked, pre_development)
    Open source →
    Release notes
    • Added support for new /email/domain/ outputs in minFraud Insights and Factors responses:
      • /email/domain/classification - categorizes the email domain type (business, education, government, isp_email)
      • /email/domain/risk - risk score associated with the domain (0.01 to 99)
      • /email/domain/volume - activity level across the minFraud network (sightings per million)
      • /email/domain/visit/has_redirect - whether the domain redirects
      • /email/domain/visit/last_visited_on - date of last automated check
      • /email/domain/visit/status - domain status (live, dns_error, network_error, http_error, parked, pre_development)
    Open source →
    Release notes

    3.5.0

    Compare

    Choose a tag to compare

    Open source →
  4. v3.4.0 20 Nov 2025
    Release notes
    • Added securepay to the payment processor validation.
    • Added credit_application, fund_transfer, and sim_swap to event type
      validation.
    • Added the input /event/party. This is the party submitting the
      transaction.
    • Added the input /payment/method. This is the payment method associated
      with the transaction.
    • Updated geoip2/geoip2 to 3.3.0, which includes new anonymizer and IP risk
      outputs.
    Open source →
    Release notes
    • Added securepay to the payment processor validation.
    • Added credit_application, fund_transfer, and sim_swap to event type validation.
    • Added the input /event/party. This is the party submitting the transaction.
    • Added the input /payment/method. This is the payment method associated with the transaction.
    • Updated geoip2/geoip2 to 3.3.0, which includes new anonymizer and IP risk outputs.
    Open source →
    Release notes

    3.4.0

    Compare

    Choose a tag to compare

    Open source →
  5. v3.3.0 23 May 2025
    Release notes
    • Added support for the /billing_phone/matches_postal and
      /shipping_phone/matches_postal outputs. These are available as the
      matchesPostal property on MaxMind\MinFraud\Model\Phone.
    • Added cryptomus to the payment processor validation.
    • \MaxMind\MinFraud now implements JsonSerializable. This returns an
      array containing the contents of the request in a sub-array as well as
      the value of the locales and hashEmail options. Pull request by Noé
      Fleury. GitHub #193.
    Open source →
    Release notes
    • Added support for the /billing_phone/matches_postal and /shipping_phone/matches_postal outputs. These are available as the matchesPostal property on MaxMind\MinFraud\Model\Phone.
    • Added cryptomus to the payment processor validation.
    • \MaxMind\MinFraud now implements JsonSerializable. This returns an array containing the contents of the request in a sub-array as well as the value of the locales and hashEmail options. Pull request by Noé Fleury. GitHub #193.
    Open source →
    Release notes

    3.3.0

    Compare

    Choose a tag to compare

    Open source →
  6. v3.2.0 10 Feb 2025
    Release notes
    • Added epayco to the payment processor validation.
    Open source →
    Release notes
    • Added epayco to the payment processor validation.
    Open source →
    Release notes

    3.2.0

    Compare

    Choose a tag to compare

    Open source →
  7. v3.2.0-beta.2 15 Nov 2024 pre-release
    Release notes
    • The minFraud Factors subscores have been deprecated. They will be removed
      in March 2025. Please see our release notes
      for more information.
    • The type hints in the PHPDocs have been improved.
    Open source →
    Release notes
    • The minFraud Factors subscores have been deprecated. They will be removed in March 2025. Please see our release notes for more information.
    • The type hints in the PHPDocs have been improved.
    Open source →
    Release notes

    3.2.0-beta.2

    Compare

    Choose a tag to compare

    Open source →
  8. v3.2.0-beta.1 06 Sep 2024 pre-release
    Release notes
    • Added support for the new risk reasons outputs in minFraud Factors. The risk
      reasons output codes and reasons are currently in beta and are subject to
      change. We recommend that you use these beta outputs with caution and avoid
      relying on them for critical applications.
    Open source →
    Release notes
    • Added support for the new risk reasons outputs in minFraud Factors. The risk reasons output codes and reasons are currently in beta and are subject to change. We recommend that you use these beta outputs with caution and avoid relying on them for critical applications.
    Open source →
    Release notes

    3.2.0-beta.1 Pre-release

    Pre-release

    Compare

    Choose a tag to compare

    Open source →
  9. v3.1.0 08 Jul 2024
    Release notes
    • Updated MaxMind\MinFraud\ReportTransaction to make the ip_address
      parameter optional. Now the tag and at least one of the following
      parameters must be supplied: ipAddress, maxmindId, minfraudId,
      transactionId.
    • Added billingPhone and shippingPhone properties to the minFraud Insights
      and Factors response models. These contain objects with information about
      the respective phone numbers. Please see our developer
      site
      for
      more information.
    • Added payconex to the payment processor validation.
    Open source →
    Release notes
    • Updated MaxMind\MinFraud\ReportTransaction to make the ip_address parameter optional. Now the tag and at least one of the following parameters must be supplied: ipAddress, maxmindId, minfraudId, transactionId.
    • Added billingPhone and shippingPhone properties to the minFraud Insights and Factors response models. These contain objects with information about the respective phone numbers. Please see our developer site for more information.
    • Added payconex to the payment processor validation.
    Open source →
    Release notes

    3.1.0

    Compare

    Choose a tag to compare

    Open source →
  10. v3.0.1 02 May 2024
    Release notes
    • When calling withDevice with an array, an exception was incorrectly
      thrown if user_agent was set but session_id was not set. Reported by
      Gregor Kuhlmann. GitHub #172.
    Open source →
    Release notes
    • When calling withDevice with an array, an exception was incorrectly thrown if user_agent was set but session_id was not set. Reported by Gregor Kuhlmann. GitHub #172.
    Open source →
    Release notes

    3.0.1

    Compare

    Choose a tag to compare

    Open source →
  11. v3.0.0 16 Apr 2024
    Release notes
    • This library no longer uses Respect\Validation.
    • The with* methods can now be used with named arguments instead of an array. This provides better editor completion, type checking, and documentation.
    • Email normalization has been improved:
      • Equivalent domain names are now normalized when hashEmail is used. For example, googlemail.com will become gmail.com.
      • Periods are now removed from gmail.com email address local parts when hashEmail is used. For example, [email protected] will become [email protected].
      • Fastmail alias subdomain email addresses are now normalized when hashEmail is used. For example, [email protected] will become [email protected].
      • Additional yahoo.com email addresses now have aliases removed from their local part when hashEmail is used. For example, [email protected] will become [email protected] for additional yahoo.com domains.
      • Duplicate .coms are now removed from email domain names when hashEmail is used. For example, example.com.com will become example.com.
      • Certain TLD typos are now normalized when hashEmail is used. For example, example.comcom will become example.com.
      • Additional gmail.com domain names with leading digits are now normalized when hashEmail is used. For example, 100gmail.com will become gmail.com.
      • Additional gmail.com typos are now normalized when hashEmail is used. For example, gmali.com will become gmail.com.
      • When hashEmail is used, the local part of an email address is now normalized to NFC.
    • Added pxp_financial and trustpay to the payment processor validation.
    Open source →
  12. v2.0.0 04 Dec 2023
    Release notes
    • IMPORTANT: PHP 8.1 or greater is now required.
    • BREAKING: Read-only properties are now used for the model class rather than magic methods.
    • BREAKING: The rawResponse property on model classes has been removed. Use the jsonSerialize method instead.
    • BREAKING: The inheritance hierarchy on model classes has changed.
    • Updated geoip2/geoip2 to version that includes the isAnycast property on GeoIp2\Record\Traits. This property is true if the IP address belongs to an anycast network. This is available in minFraud Insights and Factors.
    Open source →
  13. v1.23.0 06 Mar 2023
    Release notes
    • Fixed "creation of a dynamic property" deprecation warning on newer PHP versions. Reported by Andrey Lebedev. GitHub #145.
    • Added google_pay to the payment processor validation.
    • Added placetopay to the payment processor validation.
    Open source →
  14. v1.22.0 05 Aug 2022
    Release notes
    • The model class names are no longer constructed by concatenating strings. This change was made to improve support for tools like PHP-Scoper.
    • Added shopify_payments to the payment processor validation.
    • Box 4.0.1 is now used to generate the geoip2.phar file.
    Open source →
  15. v1.21.0 28 Mar 2022
    Release notes
    • Added the input /credit_card/country. This is the country where the issuer of the card is located. This may be passed instead of /credit_card/issuer_id_number if you do not wish to pass partial account numbers or if your payment processor does not provide them.
    • Fixed PHP 8.1 deprecation warning in internal validation classes.
    Open source →
  16. v1.20.0 25 Jan 2022
    Release notes
    • Upgraded geoip2/geoip2 to 2.12.0. This adds mobile country code (MCC) and mobile network code (MNC) to minFraud Insights and Factors responses. These are available at $response->ipAddress->traits->mobileCountryCode and $response->ipAddress->traits->mobileNetworkCode. We expect this data to be available by late January, 2022.
    • minfraud.phar is now generated with Box 3.x.
    • Added the following new values to the payment processor validation:
      • boacompra
      • boku
      • coregateway
      • fiserv
      • neopay
      • neosurf
      • openbucks
      • paysera
      • payvision
      • trustly
      • windcave
    • The /credit_card/last_4_digits input has been deprecated in favor of /credit_card/last_digits and will be removed in a future release. last_digits/last_4_digits also now supports two digit values in addition to the previous four digit values.
    • Eight digit /credit_card/issuer_id_number inputs are now supported in addition to the previously accepted six digit issuer_id_number. In most cases, you should send the last four digits for last_digits. If you send an issuer_id_number that contains an eight digit IIN, and if the credit card brand is not one of the following, you should send the last two digits for last_digits:
      • Discover
      • JCB
      • Mastercard
      • UnionPay
      • Visa
    Open source →
  17. v1.19.0 25 Aug 2021
    Release notes
    • Added datacap to the payment processor validation.
    • Added ruleLabel to minFraud output Disposition.
    • Added was_3d_secure_successful to /credit_card validation.
    Open source →
  18. v1.18.0 13 May 2021
    Release notes
    • Added the following new values to the payment processor validation:
      • cardknox
      • creditguard
      • credorax
      • dlocal
      • onpay
      • safecharge
    Open source →
  19. v1.17.0 02 Feb 2021
    Release notes
    • IMPORTANT: PHP 7.3 or greater is now required.
    • The dependency Respect\Validation has been upgraded from 1.x to 2.1.
    • The with() method on MaxMind\MinFraud may now be used when device and shopping_cart are not set.
    • Added the following new values to the payment processor validation:
      • apple_pay
      • aps_payments
    • You may now enable client-side email hashing by setting hashEmail to true in the MaxMind\MinFraud constructor's options parameter. When set, this normalizes the email address and sends an MD5 hash of it to the web service rather than the plain-text address. Note that the email domain will still be sent in plain text.
    • Added support for the IP address risk reasons in the minFraud Insights and Factors responses. This is available at ->ipAddress->riskReasons. It is an array of MaxMind\MinFraud\Model\IpRiskReason objects.
    Open source →
  20. v1.16.1 02 Nov 2020
    Release notes
    • maxmind/web-service-common has been updated to 0.8.1 to fix an issue when using the reportTransaction method. Reported by Dmitry Malashko. GitHub #99.
    Open source →
  21. v1.16.0 13 Oct 2020
    Release notes
    • Added tsys to the payment processor validation.
    • The device IP address is no longer a required input.
    Open source →
  22. v1.15.0 01 Oct 2020
    Release notes
    • IMPORTANT: PHP 7.2 or greater is now required.
    • Additional type hints have been added.
    • Added the isResidentialProxy property to GeoIp2\Record\Traits.
    Open source →
  23. v1.14.0 05 Aug 2020
    Release notes
    • Added the following new values to the payment processor validation:
      • cashfree
      • first_atlantic_commerce
      • komoju
      • paytm
      • razorpay
      • systempay
    • Added support for the /subscores/device, /subscores/email_local_part and /subscores/shipping_address outputs. They are exposed as the device, emailLocalPart and shippingAddress properties on MaxMind\MinFraud\Model\Subscores.
    Open source →
  24. v1.13.0 29 May 2020
    Release notes
    • Added support for the Report Transactions API. We encourage the use of this API as we use data received through this channel to continually improve the accuracy of our fraud detection algorithms.
    Open source →
  25. v1.12.0 06 Apr 2020
    Release notes
    • Added support for the new credit card output /credit_card/is_business. This indicates whether the card is a business card. It may be accessed via $response->creditCard->isBusiness on the minFraud Insights and Factors response objects.
    Open source →
  26. v1.11.0 26 Mar 2020
    Release notes
    • Added support for the new email domain output /email/domain/first_seen. This may be accessed via $response->email->domain->firstSeen on the minFraud Insights and Factors response objects.
    • The validation of /event/time now allows sub-second RFC 3339 timestamps in the request.
    • Added the following new values to the payment processor validation:
      • cardpay
      • epx
    Open source →
  27. v1.10.0 21 Feb 2020
    Release notes
    • Added support for the /email/is_disposable output. This is available as the isDisposable property on MaxMind\MinFraud\Model\Email.
    • Updated the validation on /order/amount and /shopping_cart/*/price to allow 0. This was an inconsistency between this library and the web service. Reported by Sn0wCrack. GitHub #78.
    Open source →
  28. v1.9.0 12 Dec 2019
    Release notes
    • PHP 5.6 is now required.
    • The client-side validation for numeric custom inputs has been updated to match the server-side validation. The valid range is -9,999,999,999,999 to 9,999,999,999,999. Previously, larger numbers were allowed.
    • Added the following new values to the payment processor validation:
      • affirm
      • afterpay
      • cetelem
      • dotpay
      • ecommpay
      • g2a_pay
      • interac
      • klarna
      • mercanet
      • paysafecard
    • Deprecated emailTenure and ipTenure properties in MaxMind\MinFraud\Model\Subscores.
    • Deprecated isHighRisk property in MaxMind\MinFraud\Model\GeoIp2Country.
    Open source →
  29. v1.8.0 07 Mar 2019
    Release notes
    • Added the following new values to the payment processor validation:
      • datacash
      • gocardless
      • payeezy
      • paylike
      • payment_express
      • smartdebit
      • synapsefi
    • Be more explicit in the documentation about the fact that we create and return new MinFraud objects in each ->with*() call.
    Open source →
  30. v1.7.0 10 Apr 2018
    Release notes
    • Renamed MaxMind user ID to account ID in the code and added support for the new ACCOUNT_ID_REQUIRED error code.
    • Added the following new values to the payment processor validation:
      • ccavenue
      • ct_payments
      • dalenys
      • oney
      • posconnect
    • Added support for the /device/local_time output. This is exposed as the localTime property on MaxMind\MinFraud\Model\Device.
    • Added support for the /credit_card/is_virtual output. This is exposed as the isVirtual property on MaxMind\MinFraud\Model\CreditCard.
    • Added payout_change to the /event/type input validation.
    Open source →
  31. v1.6.0 19 Jan 2018
    Release notes
    • Upgraded geoip2/geoip2 dependency. This version adds the isInEuropeanUnion property to MaxMind\MinFraud\Model\GeoIp2Country and GeoIp2\Record\RepresentedCountry. This property is true if the country is a member state of the European Union.
    • Added the following new values to the payment processor validation:
      • cybersource
      • transact_pro
      • wirecard
    Open source →
  32. v1.5.0 30 Oct 2017
    Release notes
    • TLD validation is no longer performed when validating /email/domain in order to better accommodate new gTLDs that the validation library does not yet know about.
    • Added the following new values to the payment processor validation:
      • bpoint
      • checkout_com
      • emerchantpay
      • heartland
      • payway
    • Updated geoip2/geoip2 dependency to add support for GeoIP2 Precision Insights anonymizer fields.
    Open source →
  33. v1.4.0 10 Jul 2017
    Release notes
    • Added support for custom inputs. You may set up custom inputs from your account portal.
    • Updated the docs for MaxMind\MinFraud\Model\Address now that isPostalInCity may be returned for addresses world-wide.
    • The firstSeen was added to the Email response model. session_age and session_id inputs were added to device input validation.
    • Added the following new values to the payment processor validation:
      • american_express_payment_gateway
      • bluesnap
      • commdoo
      • curopayments
      • ebs
      • exact
      • hipay
      • lemon_way
      • oceanpayment
      • paymentwall
      • payza
      • securetrading
      • solidtrust_pay
      • vantiv
      • vericheck
      • vpos
    Open source →
  34. v1.3.0 22 Nov 2016
    Release notes
    • The disposition was added to the minFraud response models. This is used to return the disposition of the transaction as set by the custom rules for the account.
    Open source →
  35. v1.2.0 11 Nov 2016
    Release notes
    • Allow /credit_card/token input.
    Open source →
  36. v1.1.1 17 Oct 2016
    Release notes
    • Correctly set the IP address risk for the Score model. Previously, it always returned null.
    Open source →
  37. v1.1.0 11 Oct 2016
    Release notes
    • Added the follow new values to the event type validation: email_change and password_reset.
    • isset() on model attributes now returns the correct value.
    Open source →
  38. v1.0.0 15 Sep 2016
    Release notes
    • First production release. No code changes.
    Open source →
  39. v0.6.2 17 Aug 2016
    Release notes
    • Added the following new values to the payment processor validation: concept_payments, ecomm365, orangepay, and pacnet_services.
    • Upgraded maxmind/web-service-common to 0.3.0. This version uses composer/ca-bundle rather than our own CA bundle.
    Open source →
  40. v0.6.1 10 Jun 2016
    Release notes
    • Upgraded to maxmind/web-service-common that supports setting a HTTP proxy.
    Open source →
  41. v0.6.0 08 Jun 2016
    Release notes
    • BREAKING CHANGE: creditsRemaining has been removed from the web service models and has been replaced by queriesRemaining.
    • Added queriesRemaining and fundsRemaining. Note that fundsRemaining will not be returned by the web service until our new credit system is in place.
    • confidence and lastSeen were added to the Device response model.
    Open source →
  42. v0.5.0 23 May 2016
    Release notes
    • Added support for the minFraud Factors.
    • Added IP address risk to the minFraud Score model.
    • Implement JsonSerializable.
    • Added the following new values to the payment processor validation: ccnow, dalpay, epay (replaces epayeu), payplus, pinpayments, quickpay, and verepay.
    Open source →
  43. v0.4.0 20 Jan 2016
    Release notes
    • PHP 7 support was added. PHP 5.3 support was dropped.
    • Previously an array within an array would incorrectly validate when using the ->with* methods. This now correctly throws a validation exception.
    • Added support for new minFraud Insights outputs. These are:
      • /credit_card/brand
      • /credit_card/type
      • /device/id
      • /email/is_free
      • /email/is_high_risk
    • input on the Warning response model has been replaced with inputPointer. The latter is a JSON pointer to the input that caused the warning.
    Open source →
  44. v0.3.0 10 Aug 2015
    Release notes
    • Add new is_gift and has_gift_message inputs to order object.
    • Request keys with null values are no longer validated or sent to the web service.
    Open source →
  45. v0.2.2 21 Jul 2015
    Release notes
    • Updated maxmind/web-service-common to version that fixes POST bug.
    Open source →
  46. v0.2.1 30 Jun 2015
    Release notes
    • Updated maxmind/web-service-common to version with fixes for PHP 5.3 and 5.4.
    Open source →
  47. v0.2.0 29 Jun 2015
    Release notes
    • First beta release.
    Open source →
  48. v0.1.0 18 Jun 2015
    Release notes
    • Initial release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive