PHPackages                             clarkwinkelmann/flarum-ext-username-blacklist - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. clarkwinkelmann/flarum-ext-username-blacklist

ActiveFlarum-extension[Validation &amp; Sanitization](/categories/validation)

clarkwinkelmann/flarum-ext-username-blacklist
=============================================

Blacklist or whitelist specific usernames

1.0.0(4y ago)02.4k↓50%2[1 PRs](https://github.com/clarkwinkelmann/flarum-ext-username-blacklist/pulls)MITPHP

Since Aug 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/clarkwinkelmann/flarum-ext-username-blacklist)[ Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-username-blacklist)[ RSS](/packages/clarkwinkelmann-flarum-ext-username-blacklist/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Username Blacklist
==================

[](#username-blacklist)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/4741c917a61cf762dac8efe51249e9af752cf7ed9ef1a8f060364406d0008e05/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c61726b77696e6b656c6d616e6e2f666c6172756d2d6578742d757365726e616d652d626c61636b6c6973742e737667)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-username-blacklist) [![Total Downloads](https://camo.githubusercontent.com/16b3a09f492adcb206704342fcf401ed9b239f944ada527450d3786855e88985/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c61726b77696e6b656c6d616e6e2f666c6172756d2d6578742d757365726e616d652d626c61636b6c6973742e737667)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-username-blacklist) [![Donate](https://camo.githubusercontent.com/0d6e4d8b50b5983a58205941b1a581b1305903393b7a39da574e3f60af3c7f5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652d79656c6c6f772e737667)](https://www.paypal.me/clarkwinkelmann)

This extension allows blacklisting or whitelisting usernames.

In default mode, a case-insensitive check is done with the provided username against the list.

In regular expression mode, the full username is checked against the regular expression (using PHP `preg_match` function). The regular expression must include delimiters and can include modifiers.

If no blacklist is defined, everything not whitelisted will be rejected. If a blacklist is defined, every whitelisted value as well as values not matched by the blacklist will be accepted.

The validation error message can be customized in the settings.

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

[](#installation)

```
composer require clarkwinkelmann/flarum-ext-username-blacklist

```

Support
-------

[](#support)

This extension is under **minimal maintenance**.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can [contact me](https://clarkwinkelmann.com/flarum) to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Links
-----

[](#links)

- [GitHub](https://github.com/clarkwinkelmann/flarum-ext-username-blacklist)
- [Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-username-blacklist)
- [Discuss](https://discuss.flarum.org/d/28378)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1745d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

---

Top Contributors

[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (1 commits)")

---

Tags

validationblacklistflarumusernamewhitelist

### Embed Badge

![Health badge](/badges/clarkwinkelmann-flarum-ext-username-blacklist/health.svg)

```
[![Health](https://phpackages.com/badges/clarkwinkelmann-flarum-ext-username-blacklist/health.svg)](https://phpackages.com/packages/clarkwinkelmann-flarum-ext-username-blacklist)
```

###  Alternatives

[composer/semver

Version comparison library that offers utilities, version constraint parsing and validation.

3.3k489.6M672](/packages/composer-semver)[giggsey/libphonenumber-for-php

A library for parsing, formatting, storing and validating international phone numbers, a PHP Port of Google's libphonenumber.

5.0k148.7M416](/packages/giggsey-libphonenumber-for-php)[respect/validation

The most awesome validation engine ever created for PHP

5.9k37.4M383](/packages/respect-validation)[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k35.7M107](/packages/propaganistas-laravel-phone)[opis/json-schema

Json Schema Validator for PHP

64236.9M186](/packages/opis-json-schema)[giggsey/libphonenumber-for-php-lite

A lite version of giggsey/libphonenumber-for-php, which is a PHP Port of Google's libphonenumber

8412.9M47](/packages/giggsey-libphonenumber-for-php-lite)

PHPackages © 2026

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