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(4mo ago)1415.8k↓62.2%15MITPHPPHP ~8.2.0||~8.3.0||~8.4.0CI failing

Since Nov 12Pushed 4mo 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 2w 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

58

—

FairBetter than 98% of packages

Maintenance77

Regular maintenance activity

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

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

1142.0M17](/packages/mollie-magento2)[loki/magento2-components

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

1015.1k29](/packages/loki-magento2-components)[hryvinskyi/magento2-invisible-captcha

Magento 2 multi-provider invisible captcha &amp; bot protection (Google reCAPTCHA v2/v3/Enterprise and Cloudflare Turnstile) for form-level and route-level protection

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

A Magento 2 module that creates MyParcel labels

1861.2k](/packages/myparcelnl-magento)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

2610.9k2](/packages/zwernemann-module-withdrawal)

PHPackages © 2026

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