PHPackages                             sbodak/magento2-b2b-disable-customer-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. sbodak/magento2-b2b-disable-customer-registration

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

sbodak/magento2-b2b-disable-customer-registration
=================================================

This extension allows you to disable customer registration in your Magento 2.

2.0.0(2mo ago)1415.8k↓61.9%15MITPHPPHP ~8.2.0||~8.3.0||~8.4.0CI failing

Since Nov 12Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/sbodak/magento2-b2b-disable-customer-registration)[ Packagist](https://packagist.org/packages/sbodak/magento2-b2b-disable-customer-registration)[ RSS](/packages/sbodak-magento2-b2b-disable-customer-registration/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

Magento 2 - Disable customer registration
=========================================

[](#magento-2---disable-customer-registration)

Overview
--------

[](#overview)

This module enables the possibility to disable customer registration on the frontend. It is particularly useful for B2B stores where customers should not be able to register by themselves. The extension removes the link to the registration page and hides the registration form on the login page.

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

[](#compatibility)

Module versionMagento versionPHP version2.x2.4.88.2, 8.3, 8.41.x2.1.x – 2.3.x7.0, 7.1, 8.1Requirements
------------

[](#requirements)

- Magento Open Source / Adobe Commerce 2.4.8
- PHP 8.2, 8.3, or 8.4

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

[](#installation)

```
composer require sbodak/magento2-b2b-disable-customer-registration
php bin/magento module:enable Bodak_DisableRegistration
php bin/magento setup:upgrade
php bin/magento cache:clean
```

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

[](#configuration)

1. Go to the Magento admin panel
2. Navigate to `Stores > Configuration > Customers > Customer Configuration`
3. Under the `Create New Account Options` tab, find the `Disable frontend customer registration` option
4. Set it to `Yes` to disable registration

### Admin configuration

[](#admin-configuration)

[![Module configuration - administration panel](docs/customer_registration_disabled_configuration.png)](docs/customer_registration_disabled_configuration.png)

### Frontend result

[](#frontend-result)

[![Remove registration form](docs/customer_registration_disabled.png)](docs/customer_registration_disabled.png)

Development
-----------

[](#development)

### Running unit tests

[](#running-unit-tests)

```
composer install
vendor/bin/phpunit
```

Uninstall
---------

[](#uninstall)

```
php bin/magento module:disable Bodak_DisableRegistration
composer remove sbodak/magento2-b2b-disable-customer-registration
```

Changelog
---------

[](#changelog)

See [CHANGELOG.md](CHANGELOG.md) for a full history of changes.

License
-------

[](#license)

[MIT License](LICENSE)

###  Health Score

60

—

FairBetter than 98% of packages

Maintenance85

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 81.3% 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

Every ~385 days

Recently: every ~692 days

Total

9

Last Release

77d ago

Major Versions

1.0.8 → 2.0.02026-04-18

PHP version history (5 changes)1.0.0PHP ~7.0.0

1.0.4PHP ~7.0|~7.1|~7.2

1.0.6PHP ~7.0|^7.1

1.0.8PHP ~7.0|^7.1|~8.1.0

2.0.0PHP ~8.2.0||~8.3.0||~8.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25949343?v=4)[Slawek Bodak](/maintainers/sbodak)[@sbodak](https://github.com/sbodak)

---

Top Contributors

[![sbodak](https://avatars.githubusercontent.com/u/25949343?v=4)](https://github.com/sbodak "sbodak (13 commits)")[![claudio-ferraro](https://avatars.githubusercontent.com/u/54107647?v=4)](https://github.com/claudio-ferraro "claudio-ferraro (1 commits)")[![fedemzcor](https://avatars.githubusercontent.com/u/21094362?v=4)](https://github.com/fedemzcor "fedemzcor (1 commits)")[![zhartaunik](https://avatars.githubusercontent.com/u/11556652?v=4)](https://github.com/zhartaunik "zhartaunik (1 commits)")

---

Tags

b2bb2b-customerscustomer-registrationmagento-2magento2magento2-extensionmagento2-modulemagento2-registrationb2bmagento2disable registration

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sbodak-magento2-b2b-disable-customer-registration/health.svg)

```
[![Health](https://phpackages.com/badges/sbodak-magento2-b2b-disable-customer-registration/health.svg)](https://phpackages.com/packages/sbodak-magento2-b2b-disable-customer-registration)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[markshust/magento2-module-disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.

2312.9M10](/packages/markshust-magento2-module-disabletwofactorauth)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

19131.4k](/packages/imi-magento2-friendly-captcha)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[hryvinskyi/magento2-invisible-captcha

Magento 2 Google Invisible Captcha (Recaptcha) module

289.6k](/packages/hryvinskyi-magento2-invisible-captcha)

PHPackages © 2026

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