PHPackages                             caseyamcl/dangerous\_usernames - 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. caseyamcl/dangerous\_usernames

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

caseyamcl/dangerous\_usernames
==============================

A list of dangerous usernames

v1.1(4y ago)2223MITPHPPHP ^5.3|^7.0|^8.0|^9.0

Since Jul 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/caseyamcl/dangerous_usernames)[ Packagist](https://packagist.org/packages/caseyamcl/dangerous_usernames)[ Docs](https://github.com/caseyamcl/dangerous_usernames)[ RSS](/packages/caseyamcl-dangerous-usernames/feed)WikiDiscussions master Synced 3w ago

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

Dangerous Usernames
===================

[](#dangerous-usernames)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bf65261b331f1eb4317a515c01cc599750f85fa83aa82b7317fc316b4431cc46/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6361736579616d636c2f64616e6765726f75735f757365726e616d65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/caseyamcl/dangerous_usernames)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/691f53efc10952d4f9b49afb206206a1261f6dc0c53f9e52d6d04f47e6508293/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6361736579616d636c2f64616e6765726f75735f757365726e616d65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/caseyamcl/dangerous_usernames)

This is simply a list dangerous usernames that you can include in your project. It was inspired by [this article](https://www.b-list.org/weblog/2018/feb/11/usernames/).

It comes with a `composer.json` file and `DangerousUserNames` class for easy inclusion in PHP projects. But, since it is simply a *txt* file, you can use it with any platform.

Install
-------

[](#install)

Via Composer:

```
$ composer require caseyamcl/dangerous_usernames
```

Or, use whatever programming language you want to open the textfile and read the contents into a list/array (one item per line).

Usage
-----

[](#usage)

```
use DangerousUserNames\DangerousUserNames;

// string[]
$dangerousNames = new DangerousUserNames();
$dangerousNames->inList('admin');       // case-insensitive
$dangerousNames->inList('ADMIN', true); // case-sensitive
```

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

[](#contributing)

Pull requests are welcome! If you have any user names to add, please do so in alphabetical order.

Credits
-------

[](#credits)

- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

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

Total

2

Last Release

1594d ago

PHP version history (2 changes)v1.0PHP ^5.3|^7.0

v1.1PHP ^5.3|^7.0|^8.0|^9.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8db51cd614310a5de4822be9602de578e6d6dd2af7949d52fcd375ba2a8d1c74?d=identicon)[caseyamcl](/maintainers/caseyamcl)

---

Top Contributors

[![caseyamcl](https://avatars.githubusercontent.com/u/53035?v=4)](https://github.com/caseyamcl "caseyamcl (11 commits)")

---

Tags

securityAuthenticationcaseyamclblacklistdangeroususernamesdangerous\_usernamesseclist

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/caseyamcl-dangerous-usernames/health.svg)

```
[![Health](https://phpackages.com/badges/caseyamcl-dangerous-usernames/health.svg)](https://phpackages.com/packages/caseyamcl-dangerous-usernames)
```

###  Alternatives

[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k22.0M76](/packages/hwi-oauth-bundle)[lusitanian/oauth

PHP 7.2 oAuth 1/2 Library

1.1k23.7M130](/packages/lusitanian-oauth)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

585665.9k1](/packages/scheb-2fa)[delight-im/auth

Authentication for PHP. Simple, lightweight and secure.

1.2k142.4k29](/packages/delight-im-auth)[jmikola/auto-login

Facilitates automatic login via a single token for Symfony's Security component.

99309.6k2](/packages/jmikola-auto-login)[jmikola/auto-login-bundle

Authenticate users in your Symfony app via a single query parameter (e.g. email and newsletter links).

84325.7k](/packages/jmikola-auto-login-bundle)

PHPackages © 2026

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