PHPackages                             vivlavoni/module-disable-login-and-create-account - 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. vivlavoni/module-disable-login-and-create-account

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

vivlavoni/module-disable-login-and-create-account
=================================================

Disable login and create account for customers

00PHP

Since Jul 15Pushed 10mo agoCompare

[ Source](https://github.com/VolodymyrBlazhkov/DisableLoginAndCreateAccount)[ Packagist](https://packagist.org/packages/vivlavoni/module-disable-login-and-create-account)[ RSS](/packages/vivlavoni-module-disable-login-and-create-account/feed)WikiDiscussions main Synced 1mo ago

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

Vivlavoni\_DisablePaymentForCustomer
====================================

[](#vivlavoni_disablepaymentforcustomer)

Overview
--------

[](#overview)

Disable Login For Customer The Disable Login For Customer module is developed by ViVlaVoNi, a Magento 2-focused company delivering lightweight, practical solutions for small eCommerce stores and resellers. We specialize in creating efficient modules that improve store operations without bloat or overhead.

Overview Disable Login For Customer allows Magento 2 store owners to restrict login and account creation for general visitors. Only customers explicitly added to an internal whitelist can log in or register on the store.

This module helps you secure your storefront from unauthorized access while maintaining full access for approved clients.

Account &amp; Pricing No account or subscription is required. All features are available immediately upon installation. No hidden fees.

Features:

- Block Customer Login Prevents all customers from logging in unless they're whitelisted by the admin.
- Disable Account Creation Disables the “Create Account” functionality for the general public.
- Whitelist Customer Access Add specific customers to a whitelist via the admin panel. Only whitelisted users can log in or create an account.
- Admin Management Interface Manage the list of whitelisted customers easily through a dedicated admin grid or section.
- Seamless Integration Works natively with Magento 2 without overriding core functionality.

Benefits:

- Secure Access Control Limit who can access your storefront to prevent spam, fraud, or unauthorized users.
- Ideal for Private Stores Useful for companies that only serve registered or vetted clients.
- No Code Customization Required Easy setup and configuration from the admin panel — no development needed.
- Minimal Performance Impact Designed to be lightweight and efficient.

Use Case Example: You run a wholesale Magento 2 store that only sells to approved retailers. Instead of allowing open registration or login, you use this module to restrict access. You add your retail partners to the whitelist, and only they can sign in and place orders. All other users can't login/register because it disabled.

How It Works

- Install the module via Composer or manually.
- Access the admin configuration panel.
- Add customer accounts to the whitelist.
- Save settings and deploy changes.
- Only whitelisted users can now log in or register.

All other users are blocked from logging in or creating accounts — effectively turning your Magento store into a controlled-access platform.

Installation via rar
--------------------

[](#installation-via-rar)

- unpack the module into a folder `app/code`
- run command `bin/magento setup:upgrade`
- run command `bin/magento cache:flush`

Uninstall via composer
----------------------

[](#uninstall-via-composer)

- Remove folder `app/code/Vivlavoni/DisableLoginAndCreateAccount`
- run command `bin/magento setup:upgrade`
- run command `bin/magento cache:flush`

Installation via composer
-------------------------

[](#installation-via-composer)

- Run `composer require vivlavoni/module-disable-login-and-create-account`

Uninstall via composer
----------------------

[](#uninstall-via-composer-1)

- Run `composer remove vivlavoni/module-disable-login-and-create-account`

Module Images of functionality
------------------------------

[](#module-images-of-functionality)

- Config

    [![config](docs/config_.jpeg)](docs/config_.jpeg)

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

[](#compatibility)

- Magento 2.4

Dependencies
------------

[](#dependencies)

- Magento\_Checkout

Requirements
------------

[](#requirements)

- PHP ^7.4 || ^8.1

Author
------

[](#author)

ViVlaVoNi company

Volodymyr Blazhkov

- @copyright 2025 Volodymyr Blazhkov internet solutions GmbH

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance40

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f239172631e57340d1afcaf95807b6f44b6b5867f4cb6a8e72b72b602969591?d=identicon)[Volodymyr Blazhkov](/maintainers/Volodymyr%20Blazhkov)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/vivlavoni-module-disable-login-and-create-account/health.svg)

```
[![Health](https://phpackages.com/badges/vivlavoni-module-disable-login-and-create-account/health.svg)](https://phpackages.com/packages/vivlavoni-module-disable-login-and-create-account)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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