PHPackages                             trellis/module-customer-force-login - 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. trellis/module-customer-force-login

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

trellis/module-customer-force-login
===================================

Force the customer to login before use the site

1.0.1(3y ago)131MITPHPPHP ~7.3.0||~7.4.0

Since May 25Pushed 3y ago2 watchersCompare

[ Source](https://github.com/TrellisCommerce/magento-customer-force-login)[ Packagist](https://packagist.org/packages/trellis/module-customer-force-login)[ RSS](/packages/trellis-module-customer-force-login/feed)WikiDiscussions main Synced today

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

Brought to you and maintained by [Trellis Commerce](https://trellis.co/) - A full-service eCommerce agency based in Boston, MA.

Trellis Customer Force Login
============================

[](#trellis-customer-force-login)

This extension forces a customer to login before using the site. Admin configuration settings control which CMS pages and other URL patterns are available to customers to view without logging-in. Any customer that tries to access a restricted page without logging-in will be redirected to the login page.

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

[](#installation)

Follow the instructions below to install this extension using Composer.

```
composer require trellis/module-customer-force-login
bin/magento module:enable --clear-static-content Trellis_CustomerForceLogin
bin/magento setup:upgrade
bin/magento cache:flush
```

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

[](#configuration)

See configuration at Stores &gt; Configuration &gt; Trellis &gt; Force Login.

- Enable Force Login - yes/no.
- Allowed Action Names - Comma separated list of full action names to allow. Include the route, controller, and action. Example: "catalog\_product\_view"
- Allowed CMS Pages - multiselect of all CMS pages.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~15 days

Total

2

Last Release

1430d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/78bae52b07756509d8f1333c7b600302e512cbdc13f557ba68a0c61a6d53a5c9?d=identicon)[trellis](/maintainers/trellis)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/trellis-module-customer-force-login/health.svg)

```
[![Health](https://phpackages.com/badges/trellis-module-customer-force-login/health.svg)](https://phpackages.com/packages/trellis-module-customer-force-login)
```

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