PHPackages                             viraxpress/restrict-registration - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. viraxpress/restrict-registration

ActiveMagento2-module[Authentication &amp; Authorization](/categories/authentication)

viraxpress/restrict-registration
================================

Restrict Registration for ViraXpress

1.0.0(1mo ago)01Apache-2.0PHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

Since Jun 11Pushed 1mo agoCompare

[ Source](https://github.com/viraxpress/RestrictRegistration)[ Packagist](https://packagist.org/packages/viraxpress/restrict-registration)[ RSS](/packages/viraxpress-restrict-registration/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ViraXpress Restrict Registration
================================

[](#viraxpress-restrict-registration)

Magento 2 extension to block customer account creation by email domain or IP address.

Description
-----------

[](#description)

`ViraXpress_RestrictRegistration` adds registration restrictions for Magento 2 stores by preventing new customer account creation when the registering email matches a blocked domain or when the request originates from a blocked IP address.

The extension supports backend configuration for both restriction types, including custom error messages shown to users when registration is denied.

Features
--------

[](#features)

- Block customer registration by email domain.
- Block customer registration by IP address.
- Configure custom error messages for each restriction.
- Admin UI fields for managing multiple restricted domains and IP addresses.
- Works for both standard frontend registration and API-based account creation.

Compatibility
-------------

[](#compatibility)

\-- **Magento**: 2.4.x

Installation
------------

[](#installation)

1. Install the extension via Composer:

    ```
    composer require viraxpress/restrict-registration
    ```
2. Run the following commands from your Magento root directory:

    ```
    php bin/magento module:enable ViraXpress_RestrictRegistration
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
    ```
3. In the Magento admin, go to `Stores > Configuration` and locate the `ViraXpress` tab.
4. Open `Restrict Registration`.
5. Enable and configure either or both of the following groups:

    - `Restrict Registration For Email Domains`
    - `Restrict Registration For Customer IP Address`
6. Save configuration.

Configuration
-------------

[](#configuration)

- `Enable To Email Restrict`: enable or disable email domain restrictions.
- `Email Domains To Restrict`: add blocked email domains (example: `qq.com`).
- `Message to Display`: optional custom error message for blocked email domains.
- `Enable To Customer IP Address Restrict`: enable or disable IP address restrictions.
- `Customer IP Address Restrict`: add blocked IP addresses (example: `104.56.34.134`).
- `Message to Display`: optional custom error message for blocked IP addresses.

Support
-------

[](#support)

For support, please contact ViraXpress at  or refer to the license agreement.

License
-------

[](#license)

This extension is licensed under the ViraXpress license agreement. See  for details.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.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

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfa4cf8adc10a78f5b538cdf399be5d1059c4cfecf5ca5e38e44351bcaf84367?d=identicon)[viraxpress](/maintainers/viraxpress)

---

Top Contributors

[![viraxpress](https://avatars.githubusercontent.com/u/179798477?v=4)](https://github.com/viraxpress "viraxpress (2 commits)")[![mohan10121998](https://avatars.githubusercontent.com/u/179821904?v=4)](https://github.com/mohan10121998 "mohan10121998 (1 commits)")

### Embed Badge

![Health badge](/badges/viraxpress-restrict-registration/health.svg)

```
[![Health](https://phpackages.com/badges/viraxpress-restrict-registration/health.svg)](https://phpackages.com/packages/viraxpress-restrict-registration)
```

###  Alternatives

[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[firemultimedia/mautic-multi-captcha-bundle

This plugin brings Google's reCAPTCHA, hCaptcha, and Cloudflare Turnstile integration to mautic.

141.3k](/packages/firemultimedia-mautic-multi-captcha-bundle)

PHPackages © 2026

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