PHPackages                             log1x/modern-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. log1x/modern-login

ActiveWordpress-muplugin[Authentication &amp; Authorization](/categories/authentication)

log1x/modern-login
==================

A whitelabeled and modernized wp-login.php

v1.0.7(5y ago)7817.7k↓25%6[4 issues](https://github.com/Log1x/modern-login/issues)1MITCSSPHP &gt;=7.1.3

Since Dec 14Pushed 4y ago3 watchersCompare

[ Source](https://github.com/Log1x/modern-login)[ Packagist](https://packagist.org/packages/log1x/modern-login)[ GitHub Sponsors](https://github.com/Log1x)[ RSS](/packages/log1x-modern-login/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (1)

Modern Login
============

[](#modern-login)

[![Latest Stable Version](https://camo.githubusercontent.com/8ca5f7eae503bc51f58299640304d9f657895990271c55ec39f3f9b8a0aa1913/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6731782f6d6f6465726e2d6c6f67696e3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/8ca5f7eae503bc51f58299640304d9f657895990271c55ec39f3f9b8a0aa1913/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6731782f6d6f6465726e2d6c6f67696e3f7374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/c727765996d54664819bf3468e0aac528a98eeb0fb631f945ff22102b0bcf719/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6731782f6d6f6465726e2d6c6f67696e3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c727765996d54664819bf3468e0aac528a98eeb0fb631f945ff22102b0bcf719/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6731782f6d6f6465726e2d6c6f67696e3f7374796c653d666c61742d737175617265)

Here lives a simple `mu-plugin` to whitelabel and modernize `wp-login.php`. No admin panels, no bloat – just a simple filter to optionally customize the CSS properties with your color palette.

[![Screenshot](https://camo.githubusercontent.com/7e263b9b3a1bb81753afd005c2c9386a6d9bdc484a323ce5872b6535903e3016/68747470733a2f2f692e696d6775722e636f6d2f5549624372535a2e706e67)](https://camo.githubusercontent.com/7e263b9b3a1bb81753afd005c2c9386a6d9bdc484a323ce5872b6535903e3016/68747470733a2f2f692e696d6775722e636f6d2f5549624372535a2e706e67)

Requirements
------------

[](#requirements)

- [PHP](https://secure.php.net/manual/en/install.php) &gt;= 7.1.3
- [Composer](https://getcomposer.org/download/)

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

[](#installation)

### Bedrock

[](#bedrock)

Install via Composer:

```
$ composer require log1x/modern-login
```

### Manual

[](#manual)

Download the release `.zip` and install into `wp-content/plugins`.

Customization
-------------

[](#customization)

To customize the color palette, simply pass an array containing one or more of the colors you would like to change to the `login_color_palette` filter:

```
add_filter('login_color_palette', function () {
    return [
        'brand' => '#0073aa',
        'trim' => '#181818',
        'trim-alt' => '#282828',
    ];
});
```

Text color will automatically be inverted to `#fff` or `#111` determined by the [relative luminance](https://www.w3.org/TR/WCAG20/relative-luminance.xml) of the element's background color.

### Changing the Logo

[](#changing-the-logo)

The logo uses the first letter of the login header text set by WordPress. You can customize this using the [`login_headertext`](https://developer.wordpress.org/reference/hooks/login_headertext/) filter:

```
/**
 * Change the WordPress login header to the blog name.
 *
 * @return string
 */
add_filter('login_headertext', function () {
    return get_bloginfo('name');
});
```

Development
-----------

[](#development)

Modern Login is built using TailwindCSS and compiled with Laravel Mix.

```
$ yarn
```

In order to ease development, Modern Login makes use of [`wp-env`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/env#readme) to quickly setup a WordPress instance with everything needed (this requires Docker).

```
$ npx wp-env start
```

In another terminal tab/window, you can start browser sync and webpack to watch for changes:

```
$ yarn start
```

You can test color values and other settings in `tests/mu-plugins/mu.php`.

Bug Reports
-----------

[](#bug-reports)

If you discover a bug in Modern Login, please [open an issue](https://github.com/log1x/modern-login/issues).

Contributing
------------

[](#contributing)

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License
-------

[](#license)

Modern Login is provided under the [MIT License](https://github.com/log1x/modern-login/blob/master/LICENSE.md).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.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 ~39 days

Recently: every ~55 days

Total

8

Last Release

2071d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5745907?v=4)[Brandon](/maintainers/Log1x)[@Log1x](https://github.com/Log1x)

---

Top Contributors

[![Log1x](https://avatars.githubusercontent.com/u/5745907?v=4)](https://github.com/Log1x "Log1x (19 commits)")[![nlemoine](https://avatars.githubusercontent.com/u/2526939?v=4)](https://github.com/nlemoine "nlemoine (3 commits)")[![pablobh](https://avatars.githubusercontent.com/u/23288307?v=4)](https://github.com/pablobh "pablobh (2 commits)")

---

Tags

mu-pluginwordpresswp-adminwp-loginwp-pluginwordpresswp-adminwp-login

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/log1x-modern-login/health.svg)

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

###  Alternatives

[daggerhart/openid-connect-generic

OpenID Connect generic WordPress plugin.

30481.2k1](/packages/daggerhart-openid-connect-generic)[humanmade/wp-simple-saml

WordPress Simple SAML plugin

124284.7k2](/packages/humanmade-wp-simple-saml)[kayue/kayue-wordpress-bundle

Support for authenticating WordPress users in Symfony2.

10125.9k](/packages/kayue-kayue-wordpress-bundle)[maicol07/flarum-ext-sso

SSO for Flarum

468.3k](/packages/maicol07-flarum-ext-sso)[ahsankhatri/wordpress-auth-provider

A package to provide wordpress users in laravel authentication system.

522.7k](/packages/ahsankhatri-wordpress-auth-provider)

PHPackages © 2026

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