PHPackages                             richardbporter/drush-users-commands - 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. [CLI &amp; Console](/categories/cli)
4. /
5. richardbporter/drush-users-commands

ActiveDrupal-drush[CLI &amp; Console](/categories/cli)

richardbporter/drush-users-commands
===================================

Drush commands to interact with multiple Drupal users.

4.0.1(1y ago)2128.5k↓23.7%1[1 issues](https://github.com/richardbporter/drush-users-commands/issues)[2 PRs](https://github.com/richardbporter/drush-users-commands/pulls)1GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Dec 11Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/richardbporter/drush-users-commands)[ Packagist](https://packagist.org/packages/richardbporter/drush-users-commands)[ RSS](/packages/richardbporter-drush-users-commands/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (5)Versions (25)Used By (1)

[![CI Status](https://github.com/richardbporter/drush-users-commands/actions/workflows/ci.yml/badge.svg)](https://github.com/richardbporter/drush-users-commands/actions/workflows/ci.yml/badge.svg)

drush-users-commands
====================

[](#drush-users-commands)

Drush commands to interact with multiple Drupal users.

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

[](#requirements)

- Drush ^12.2 || ^13.0
- Drupal ^10.2 || ^11.0

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

[](#installation)

Since this is a [site-wide Drush command](https://www.drush.org/latest/commands/#site-wide-commands), it will only be found when installed in certain directories. It is recommended to update your Composer installers path for drupal-drush packages to:

```
"drush/Commands/{$name}": ["type:drupal-drush"]

```

Then install it as usual:

```
composer require richardbporter/drush-users-commands

```

Note that the directory the package is installed to (UsersCommands) differs from the repository name (drush-users-commands) due to the [installer name property](https://github.com/composer/installers#custom-install-names).

Commands
--------

[](#commands)

### drush users:list

[](#drush-userslist)

List all Drupal users in a table format. See `drush users:list --help`for filtering options.

Aliases: ulist, user-list, list-users

### drush users:toggle

[](#drush-userstoggle)

Block/unblock all users while keeping track of previous state.

For example, say you have the following five users with corresponding statuses:

- admin -&gt; active
- foo -&gt; blocked
- bar -&gt; active
- baz -&gt; active
- qux -&gt; blocked

Running `drush users:toggle` will block admin, bar and baz. Running `drush users:toggle` again will unblock admin, bar and baz but foo and qux stay blocked since that was their previous status.

Aliases: utog

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance42

Moderate activity, may be stable

Popularity35

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 55.1% 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 ~117 days

Recently: every ~199 days

Total

22

Last Release

667d ago

Major Versions

1.0.2 → 2.0.02018-09-08

2.2.0 → 3.0.02022-02-22

3.2.1 → 4.0.02023-11-01

PHP version history (7 changes)1.0.0PHP &gt;=5.6.0

2.0.0PHP ^7

2.2.0PHP ^7.3

3.0.0PHP ^7.4

3.0.4PHP &gt;=7.4

3.2.0PHP &gt;=8.0

4.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1068523?v=4)[Richard B. Porter](/maintainers/richardbporter)[@richardbporter](https://github.com/richardbporter)

---

Top Contributors

[![richardbporter](https://avatars.githubusercontent.com/u/1068523?v=4)](https://github.com/richardbporter "richardbporter (38 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (26 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (5 commits)")

---

Tags

drupaldrushlist-userstoggle-usersuser-listdrupalDrushuser listlist-users

### Embed Badge

![Health badge](/badges/richardbporter-drush-users-commands/health.svg)

```
[![Health](https://phpackages.com/badges/richardbporter-drush-users-commands/health.svg)](https://phpackages.com/packages/richardbporter-drush-users-commands)
```

###  Alternatives

[drupal/console

The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.

93315.1M161](/packages/drupal-console)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[jigarius/drall

Drall is a command-line utility to run drush on multi-site Drupal installations.

36115.5k](/packages/jigarius-drall)[kevinquillen/recipe-generator

Adds Drush command(s) to help generate Recipes for Drupal.

1417.5k6](/packages/kevinquillen-recipe-generator)[vardot/varbase-project

Project template for Varbase distribution.

5362.5k](/packages/vardot-varbase-project)[pressbooks/pressbooks-book

This theme is named after Canadian media theorist Marshall McLuhan, who coined the phrase “the medium is the message.” It is designed for academic writing and is also suitable for fiction. Headings are set in Cormorant Garamond, and body type is set in Lora.

216.7k](/packages/pressbooks-pressbooks-book)

PHPackages © 2026

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