PHPackages                             mipotech/yii2-devlogin - 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. mipotech/yii2-devlogin

ActiveYii2-extension[Authentication &amp; Authorization](/categories/authentication)

mipotech/yii2-devlogin
======================

A package to password-protect an entire site, typically when in dev or test mode

1.2(5y ago)18861MITPHP

Since Apr 6Pushed 5y ago2 watchersCompare

[ Source](https://github.com/mipotech/yii2-devlogin)[ Packagist](https://packagist.org/packages/mipotech/yii2-devlogin)[ RSS](/packages/mipotech-yii2-devlogin/feed)WikiDiscussions master Synced yesterday

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

Yii2-devlogin
=============

[](#yii2-devlogin)

This package provides a simple way to password-protect an entire site, typically when in dev or test mode.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/). Either run

```
php composer.phar require --prefer-dist mipotech/yii2-devlogin "*"

```

or add:

```
"mipotech/yii2-devlogin": "*",

```

to the `require` section of your `composer.json` file and perform a composer update.

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

[](#configuration)

Add `devlogin` as an application component in @app/config/web.php:

```
'components' => [
    ...
    'devlogin' => [
        /* Required settings */
        'class' => 'mipotech\devlogin\Bootstrap',
        'username' => 'XXXXX',
        'password' => 'YYYYY',

        /* Optional settings */
        'environments' => ['dev'],    // defaults to ['dev', 'test']
        'excludeIPs' => ['192.168.10.1'],    // IP addresses to exclude from this rule. defaults to []
        'excludePaths' => ['/dashboard','/gii'],    // defaults to []
        'logoPath' => '/images/logo.png',
    ],
    ...
]

```

and then add the `devlogin` component in the `bootstrap` section of the config file:

```
'bootstrap' => [
    'log',
    'devlogin',
    ...
]

```

That's it. The package is set up and ready to go.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 69.2% 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 ~659 days

Total

3

Last Release

2005d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d1ac05bc3f037d0072843807d7fb019f475c7ebe07faec1353b071e11618cfa?d=identicon)[mipotech](/maintainers/mipotech)

---

Top Contributors

[![mipoteam](https://avatars.githubusercontent.com/u/231016014?v=4)](https://github.com/mipoteam "mipoteam (9 commits)")[![mipotech](https://avatars.githubusercontent.com/u/6897188?v=4)](https://github.com/mipotech "mipotech (4 commits)")

---

Tags

devyii2extension

### Embed Badge

![Health badge](/badges/mipotech-yii2-devlogin/health.svg)

```
[![Health](https://phpackages.com/badges/mipotech-yii2-devlogin/health.svg)](https://phpackages.com/packages/mipotech-yii2-devlogin)
```

###  Alternatives

[kakadu-dev/yii2-jwt-auth

Extension provide JWT auth for Yii2

105.8k](/packages/kakadu-dev-yii2-jwt-auth)

PHPackages © 2026

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