PHPackages                             customerlogin/login-require - 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. customerlogin/login-require

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

customerlogin/login-require
===========================

A Magento 2 module that require customer login

02PHP

Since Apr 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sonlee1994/LoginRequire)[ Packagist](https://packagist.org/packages/customerlogin/login-require)[ RSS](/packages/customerlogin-login-require/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

LoginRequire
============

[](#loginrequire)

Require the customer have to logged before redirect to site

Installation
============

[](#installation)

```
composer.phar require customerlogin/login-require:dev-master

```

After the installment of the module source code, the module has to be enabled by the *Magento® 2* CLI.

```
bin/magento module:enable CustomerLogin_LoginRequire

```

System Upgrade
--------------

[](#system-upgrade)

After enabling the module, the Magento® 2 system must be upgraded.

If the system mode is set to production, run the compile command first. This is not necessary for the developer mode.

```
bin/magento setup:di:compile

```

To upgrade the system, the *upgrade* command must be run.

```
bin/magento setup:upgrade

```

Clear Cache
-----------

[](#clear-cache)

```
bin/magento cache:clean

```

After installing and enabling Module, At Admin you must navigate to Stores &gt; Configuration &gt; Customer &gt; Customer Configuration, where you are able to configure the availability of the module for website. The LoginRequire Module allows you to enable or disable the module itself on the level of websites, stores and store views.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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/f62c44ba61938a4b7d3de89ac997bb773d9415ab50da9455095d169d71f00e0b?d=identicon)[sonlee1994](/maintainers/sonlee1994)

---

Top Contributors

[![sonlee1994](https://avatars.githubusercontent.com/u/19645910?v=4)](https://github.com/sonlee1994 "sonlee1994 (6 commits)")

### Embed Badge

![Health badge](/badges/customerlogin-login-require/health.svg)

```
[![Health](https://phpackages.com/badges/customerlogin-login-require/health.svg)](https://phpackages.com/packages/customerlogin-login-require)
```

###  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)
