PHPackages                             mageprince/magento2-forcelogin - 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. mageprince/magento2-forcelogin

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

mageprince/magento2-forcelogin
==============================

Magento2 Force Login Module

1.0.2(8y ago)57023[4 issues](https://github.com/mageprince/magento2-forcelogin/issues)proprietaryPHP

Since Mar 6Pushed 7y ago2 watchersCompare

[ Source](https://github.com/mageprince/magento2-forcelogin)[ Packagist](https://packagist.org/packages/mageprince/magento2-forcelogin)[ RSS](/packages/mageprince-magento2-forcelogin/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Magento2 Force Login
====================

[](#magento2-force-login)

IN DEVELOPMENT
==============

[](#in-development)

NOTE: DONT USE THIS MODULE IN LIVE SITE

The Force Login extension for Magento 2 force customer to login to access pages which is added from admin. You can also force login for specific customer group and storeview.

Now you can set only homepage can access without login from configurations.

**Magento Market Place Link:**

Installation Instruction
========================

[](#installation-instruction)

- Copy the content of the repo to the **app/code/Prince/Forcelogin**
- Run command: **php bin/magento setup:upgrade**
- Run command: **php bin/magento setup:static-content:deploy**
- Now flush cache: **php bin/magento cache:flush**

Contribution
============

[](#contribution)

Want to contribute to this extension? The quickest way is to [open a pull request](https://help.github.com/articles/about-pull-requests/) on GitHub.

Support
=======

[](#support)

If you encounter any problems or bugs, please [open an issue](https://github.com/mageprince/magento2-forcelogin/issues) on GitHub.

Screenshot
==========

[](#screenshot)

### Admin Grid

[](#admin-grid)

[![Admin Grid](https://raw.githubusercontent.com/mageprince/all-module-screenshots/master/Forcelogin/admin-grid.png)](https://raw.githubusercontent.com/mageprince/all-module-screenshots/master/Forcelogin/admin-grid.png)

### Add/Update URL

[](#addupdate-url)

[![Add/Update URL](https://raw.githubusercontent.com/mageprince/all-module-screenshots/master/Forcelogin/add-update-url.png)](https://raw.githubusercontent.com/mageprince/all-module-screenshots/master/Forcelogin/add-update-url.png)

### Settings

[](#settings)

[![Setting](https://raw.githubusercontent.com/mageprince/all-module-screenshots/master/Forcelogin/admin-configurations.png)](https://raw.githubusercontent.com/mageprince/all-module-screenshots/master/Forcelogin/admin-configurations.png)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance4

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

3038d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24751863?v=4)[Mageprince](/maintainers/mageprince)[@mageprince](https://github.com/mageprince)

---

Top Contributors

[![pprincepatel](https://avatars.githubusercontent.com/u/110395175?v=4)](https://github.com/pprincepatel "pprincepatel (15 commits)")[![mageprince](https://avatars.githubusercontent.com/u/24751863?v=4)](https://github.com/mageprince "mageprince (13 commits)")[![princektpl](https://avatars.githubusercontent.com/u/55445358?v=4)](https://github.com/princektpl "princektpl (2 commits)")

---

Tags

forceloginfree-extensionmagento2magento2-extension

### Embed Badge

![Health badge](/badges/mageprince-magento2-forcelogin/health.svg)

```
[![Health](https://phpackages.com/badges/mageprince-magento2-forcelogin/health.svg)](https://phpackages.com/packages/mageprince-magento2-forcelogin)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.8M12](/packages/mollie-magento2)[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.4M1](/packages/fastly-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)[loki/magento2-components

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

1010.0k22](/packages/loki-magento2-components)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

1512.6k](/packages/mage-os-module-inventory-reservations-grid)[mage-os/module-admin-activity-log

The Admin Activity extension makes it easy to track all admin activity with comprehensive audit logging.

293.3k](/packages/mage-os-module-admin-activity-log)

PHPackages © 2026

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