PHPackages                             louisstanley/ci4-shield-username-suggest - 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. louisstanley/ci4-shield-username-suggest

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

louisstanley/ci4-shield-username-suggest
========================================

A CodeIgniter 4 Shield extension to suggest usernames based on email addresses.

035PHP

Since May 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/LouisStanley/ci4-shield-username-suggestion)[ Packagist](https://packagist.org/packages/louisstanley/ci4-shield-username-suggest)[ RSS](/packages/louisstanley-ci4-shield-username-suggest/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CI4 Username Generator
======================

[](#ci4-username-generator)

A CodeIgniter 4 extension that adds username suggestions to Shield's registration process.

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

[](#requirements)

- CodeIgniter 4.3+
- CodeIgniter Shield
- PHP 7.4+

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

[](#installation)

```
composer require louisstanley/ci4-shield-username-suggest
```

Quick Setup
-----------

[](#quick-setup)

1. **Copy the Register View**Copy the provided `register.php` view from the package into your CodeIgniter 4 app's views directory. For example:

    ```
    cp vendor/louisstanley/ci4-shield-username-suggest/src/Views/register.php app/Views/auth/register.php

    ```
2. **Set the View in Shield Config**In your `app/Config/Auth.php`, set the custom register view path:

    ```
    public $views = [
        'register' => 'auth/register',
    ];
    ```

This ensures that Shield uses the modified view with username suggestions during registration.

Features
--------

[](#features)

- Generates usernames based on email addresses
- Shows available username options to users
- Allows one-click selection of suggested usernames

[![alt text](image.png)](image.png)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e0aa473fd58813acc4a6365c3570357c3a803ede5ba58c6d9c2049d6efc233dd?d=identicon)[LouisStanley](/maintainers/LouisStanley)

---

Top Contributors

[![LouisStanley](https://avatars.githubusercontent.com/u/67686137?v=4)](https://github.com/LouisStanley "LouisStanley (3 commits)")

### Embed Badge

![Health badge](/badges/louisstanley-ci4-shield-username-suggest/health.svg)

```
[![Health](https://phpackages.com/badges/louisstanley-ci4-shield-username-suggest/health.svg)](https://phpackages.com/packages/louisstanley-ci4-shield-username-suggest)
```

PHPackages © 2026

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