PHPackages                             ramon/auth-modals - 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. ramon/auth-modals

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

ramon/auth-modals
=================

Redesigns Flarum's login, sign-up and forgot-password modals with a side panel (image + icon) and adds Login / Sign Up pill buttons to the header.

2.0.2(2mo ago)060↓50%MITTypeScriptCI failing

Since May 12Pushed 2mo agoCompare

[ Source](https://github.com/ram0ng1/auth-modals)[ Packagist](https://packagist.org/packages/ramon/auth-modals)[ RSS](/packages/ramon-auth-modals/feed)WikiDiscussions main Synced 3w ago

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

 [![Auth Modals](icon.svg)](icon.svg)

Auth Modals
===========

[](#auth-modals)

 [![License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265) [ ![Latest Stable Version](https://camo.githubusercontent.com/400d436fb21a148fa97e960a40f0aaa260fb93e27321934d68c147a8bfe2deb1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616d6f6e2f617574682d6d6f64616c732e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/ramon/auth-modals) [ ![Total Downloads](https://camo.githubusercontent.com/f70cfb7d9d56a9d37e55ca8279af0ec0f9e127ee238548ad211a312009d9fa5b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616d6f6e2f617574682d6d6f64616c732e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/ramon/auth-modals) [ ![GitHub Release](https://camo.githubusercontent.com/062934f10f2fbf2ec3268a4eb76d993f1b2fcdfd2f2ce01839e093412b7f39ea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f72616d306e67312f617574682d6d6f64616c733f7374796c653d666c61742d737175617265266c6162656c3d72656c6561736526636f6c6f723d73756363657373) ](https://github.com/ram0ng1/auth-modals/releases/latest) [ ![Donate](https://camo.githubusercontent.com/4520ce31ab5345dd00ca68e6f3d236241474bc446a63f13f737834163cd18008/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d7374726970652d2532333637373245353f7374796c653d666c61742d737175617265) ](https://donate.stripe.com/fZe5o66nebkf39S28a)

 Redesigns [Flarum](https://flarum.org)'s login, sign-up and forgot-password modals with a custom side panel (background image + contextual icon), and optionally adds pill-shaped Log In / Sign Up buttons to the header for guests.

---

Features
--------

[](#features)

- **Side panel** — Injected into the Log In, Sign Up and Forgot Password modals, with a contextual Font Awesome icon (lock / user-plus / envelope).
- **Custom background image** — Upload any image from the admin panel; rendered as a `cover` background on the right-side panel.
- **Header buttons** — Optional pill-shaped Log In / Sign Up buttons in the header secondary nav for guests, with an "or" separator.
- **Colored-header aware** — Buttons automatically swap to readable contrast when the forum uses a colored header.
- **Dark mode** — Styles included; borders and surfaces adapt to the active theme.
- **Auto-save** — Settings persist on every change; no submit button on the extension page.

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

[](#requirements)

- Flarum `^2.0.0`

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

[](#installation)

```
composer require ramon/auth-modals
php flarum cache:clear
```

Then enable **Auth Modals** under the *Extensions* page in the admin panel.

Updating
--------

[](#updating)

```
composer update ramon/auth-modals --with-dependencies
php flarum cache:clear
```

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

[](#configuration)

All settings are available in the admin panel under the Auth Modals extension:

SettingDescriptionDefaultModal backgroundImage rendered on the right-side panel of the auth modals—Header buttonsShow pill-shaped Log In / Sign Up buttons in the header for guests`false`API Endpoints
-------------

[](#api-endpoints)

MethodEndpointDescription`POST``/api/auth-modals/image`Upload the modal background image (admin only)`DELETE``/api/auth-modals/image`Remove the modal background image (admin only)Build
-----

[](#build)

```
cd js
npm install
npm run build
```

Links
-----

[](#links)

- [GitHub](https://github.com/ram0ng1/auth-modals)
- [Issues](https://github.com/ram0ng1/auth-modals/issues)
- [Donate](https://donate.stripe.com/fZe5o66nebkf39S28a)

Authors
-------

[](#authors)

- [Ramon Guilherme](https://ramonguilherme.com.br)

License
-------

[](#license)

[MIT](LICENSE.md)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance87

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

4

Last Release

62d ago

Major Versions

0.1.0 → 2.0.02026-05-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13917322?v=4)[Ramon Guilherme](/maintainers/ram0ng1)[@ram0ng1](https://github.com/ram0ng1)

---

Top Contributors

[![ram0ng1](https://avatars.githubusercontent.com/u/13917322?v=4)](https://github.com/ram0ng1 "ram0ng1 (8 commits)")

---

Tags

authloginmodalsignupflarum

### Embed Badge

![Health badge](/badges/ramon-auth-modals/health.svg)

```
[![Health](https://phpackages.com/badges/ramon-auth-modals/health.svg)](https://phpackages.com/packages/ramon-auth-modals)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

12128.3k](/packages/flarum-lang-russian)[maicol07/flarum-ext-sso

SSO for Flarum

468.7k](/packages/maicol07-flarum-ext-sso)[flarum-lang/french

French language pack to localize the Flarum forum software plus its official and third-party extensions.

1938.7k](/packages/flarum-lang-french)

PHPackages © 2026

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