PHPackages                             mltest/module-developertest - 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. [Security](/categories/security)
4. /
5. mltest/module-developertest

ActiveMagento2-module[Security](/categories/security)

mltest/module-developertest
===========================

ML DeveloperTest Extension for allow the admin to block the product from being ordered from one or more countries

2.0.0(2y ago)013OSL-3.0PHPPHP ~8.1.0||~8.2.0

Since Oct 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hpmagento/mldevelopertest)[ Packagist](https://packagist.org/packages/mltest/module-developertest)[ RSS](/packages/mltest-module-developertest/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (0)

This module enables the admin to restrict products at a product level, It is allow the admin to BLOCK the product from being ordered from one or more countries. Used [IPinfo PHP Client Library](https://github.com/ipinfo/php) to retrieve the country from the visitors IP to obtain the country for the current customer.

**Download &amp; Install**
--------------------------

[](#download--install)

You can download from the following resouces:

- [Github](https://github.com/hpmagento/mldevelopertest)

### Install via composer (recommend)

[](#install-via-composer-recommend)

composer require mltest/module-developertest:dev-master

composer require ipinfo/ipinfo:2.2.0

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy -f

**User Guide**
--------------

[](#user-guide)

### **How to config**

[](#how-to-config)

Login to the Magento admin, choose Stores &gt; Settings &gt; Configuration &gt; ML DevelopmentTest &gt; Block Product.#### 1. Block Product Configurations

[](#1-block-product-configurations)

- In the Enable field, select “Yes” to enable this extension.
- In the Error Message field, Enter the error message, It will show when customer will not eligible to buy.

#### 2.IPinfo Configurations

[](#2ipinfo-configurations)

- In Access Token, You'll need an IPinfo API access token, which you can get by signing up for a free account at .

### How to Block Product At a product level

[](#how-to-block-product-at-a-product-level)

- Login to the Magento admin, choose Catalog &gt; Products. From product listing select the product and edit it, Then check "Block product by countries" attribute and select countries.

### Note

[](#note)

This extension is tested on magento version 2.4.6-p3

Review recorded of testing this extension in magento version 2.4.6-p3 : [Link](https://www.awesomescreenshot.com/video/22064580?key=e5a81072ae7a3be4f8255ee257fc3060)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

976d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a38341f449f43bc92824bd8e7fd67f9c216029b3f78d32ac300ce1b8387dcdf?d=identicon)[hpmagento](/maintainers/hpmagento)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mltest-module-developertest/health.svg)

```
[![Health](https://phpackages.com/badges/mltest-module-developertest/health.svg)](https://phpackages.com/packages/mltest-module-developertest)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M143](/packages/mews-purifier)[ipinfo/ipinfolaravel

The official Laravel library for IPinfo, the most reliable, accurate, and in-depth source of IP address data available anywhere. We process terabytes of data to produce our custom IP geolocation, company, carrier and IP type data sets. Visit our developer docs at https://ipinfo.io/developers.

19996.9k](/packages/ipinfo-ipinfolaravel)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k37](/packages/paragonie-ecc)

PHPackages © 2026

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