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 1mo ago

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 32% 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

930d 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

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

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

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41478.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87117.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)[paragonie/hidden-string

Encapsulate strings in an object to hide them from stack traces

7410.6M39](/packages/paragonie-hidden-string)

PHPackages © 2026

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