PHPackages                             abelbm/magento2-disablefrontend - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. abelbm/magento2-disablefrontend

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

abelbm/magento2-disablefrontend
===============================

Disable Frontend in Magento 2.

1.1.1(7y ago)3620.2k↓39.3%14AGPL-3.0PHPPHP &gt;=5.5

Since May 20Pushed 7y ago2 watchersCompare

[ Source](https://github.com/abelbm/magento2-disable-frontend)[ Packagist](https://packagist.org/packages/abelbm/magento2-disablefrontend)[ RSS](/packages/abelbm-magento2-disablefrontend/feed)WikiDiscussions master Synced 1mo ago

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

Disable Frontend in Magento 2
-----------------------------

[](#disable-frontend-in-magento-2)

Disable the frontend in Magento 2 for using only the Admin and the API routes.

#### 1 - Installation Disable Frontend

[](#1---installation-disable-frontend)

##### Manual Installation

[](#manual-installation)

Install Disable Frontend for Magento2

- Download the extension
- Unzip the file
- Create a folder {Magento root}/app/code/Abelbm/DisableFrontend
- Copy the content from the unzip folder

##### Using Composer

[](#using-composer)

```
composer require abelbm/magento2-disablefrontend

```

#### 2 - Enable Disable Frontend

[](#2---enable-disable-frontend)

- php bin/magento module:enable Abelbm\_DisableFrontend
- php bin/magento setup:upgrade
- php bin/magento cache:flush
- php bin/magento setup:di:compile

#### 3 - Change the frontend redirect

[](#3---change-the-frontend-redirect)

Stores &gt; Configuration &gt; Advanced &gt; Admin &gt; Disable Frontend

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~198 days

Total

4

Last Release

2692d ago

PHP version history (2 changes)1.0.0PHP ~5.5.0|~5.6.0|~7.0.0

1.1.1PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/0505c20168ef0c5d997e0a8c135d0bd06f436446022e6f965837296b20aa7e6f?d=identicon)[abelbm](/maintainers/abelbm)

---

Top Contributors

[![abelbm](https://avatars.githubusercontent.com/u/10984431?v=4)](https://github.com/abelbm "abelbm (14 commits)")

---

Tags

disablefrontendmagentomagento2frontenddisablemagento2magento 2Disable Frontend Magento 2

### Embed Badge

![Health badge](/badges/abelbm-magento2-disablefrontend/health.svg)

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

###  Alternatives

[magepal/magento2-googletagmanager

Google Tag Manager (GTM) for Magento 2 with Advance Data Layer

2671.5M4](/packages/magepal-magento2-googletagmanager)[mexitek/phpcolors

A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.

5003.6M18](/packages/mexitek-phpcolors)[mageplaza/magento-2-blog-extension

Magento 2 Blog extension

123708.2k5](/packages/mageplaza-magento-2-blog-extension)[magepal/magento2-reindex

Reindex your Magento2 store quickly and easily from backend/admin, instead of command line.

112649.7k1](/packages/magepal-magento2-reindex)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[magepal/magento2-preview-checkout-success-page

Quickly and easily preview and test your Magento2 checkout success page, without placing a new order each time

7790.6k](/packages/magepal-magento2-preview-checkout-success-page)

PHPackages © 2026

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