PHPackages                             drupal-code-builder/drupal-code-builder-drush - 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. drupal-code-builder/drupal-code-builder-drush

ActiveDrupal-drush[Utility &amp; Helpers](/categories/utility)

drupal-code-builder/drupal-code-builder-drush
=============================================

Provides Drush commands for generating Drupal code using Drupal Code Builder.

10.0.1(1y ago)1336.1k↓21.9%3[2 issues](https://github.com/drupal-code-builder/drupal-code-builder-drush/issues)1GPL-2.0+PHP

Since Nov 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/drupal-code-builder/drupal-code-builder-drush)[ Packagist](https://packagist.org/packages/drupal-code-builder/drupal-code-builder-drush)[ RSS](/packages/drupal-code-builder-drupal-code-builder-drush/feed)WikiDiscussions 10.0.x Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (13)Used By (1)

This is a set of Drush commands for generating code with the Drupal Code Builder library ().

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

[](#installation)

Install this command with Composer:

`composer require drupal-code-builder/drupal-code-builder-drush`

Setup
-----

[](#setup)

Once this is installed, do `drush cb:update`. This detects hooks, services, and plugin types in your Drupal site's codebase and analyses them for use with Drupal Code Builder.

Usage
-----

[](#usage)

The following commands are available:

- `drush cb:list`: Lists all the hooks, services, and plugins that Drupal Code Builder has detected in your Drupal site's codebase.
- `drush cb:update`: Updates the stored definitions of Drupal hooks, services and plugin types.
- `drush cb:module`: Creates a module, or adds components to one.

A note on history
-----------------

[](#a-note-on-history)

Commits in this repository older than 2017-08-22 are extracted from other repositories that originally were the home of this command file: the drupal.org module\_builder project, and a drush fork. They were extracted using git filter-branch, and reconstituted into a single history with git graft and git filter-branch.

Version numbers start at 8.0.0 because the initial numbering scheme matched with Drush major version numbers, in the pre-Composer, pre-Semver era.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 99.4% 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 ~227 days

Recently: every ~479 days

Total

12

Last Release

622d ago

Major Versions

8.1.0 → 9.0.0-alpha32017-11-01

8.x-dev → 9.0.02017-11-16

9.0.2 → 10.0.02024-02-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/21043d4af2cb62a3e316647f63749d05fcbab1c9bd5e67ffa2079b0117e8f65a?d=identicon)[joachim-n](/maintainers/joachim-n)

---

Top Contributors

[![joachim-n](https://avatars.githubusercontent.com/u/105262?v=4)](https://github.com/joachim-n "joachim-n (349 commits)")[![pfrenssen](https://avatars.githubusercontent.com/u/442924?v=4)](https://github.com/pfrenssen "pfrenssen (2 commits)")

### Embed Badge

![Health badge](/badges/drupal-code-builder-drupal-code-builder-drush/health.svg)

```
[![Health](https://phpackages.com/badges/drupal-code-builder-drupal-code-builder-drush/health.svg)](https://phpackages.com/packages/drupal-code-builder-drupal-code-builder-drush)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9475.0M86](/packages/livewire-flux)[log1x/acf-composer

Create fields, blocks, option pages, and widgets using ACF Builder and Sage 10

493760.2k13](/packages/log1x-acf-composer)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[farmos/farmos

A web-based farm record keeping application.

1.2k6.7k1](/packages/farmos-farmos)[nativephp/desktop

NativePHP for Desktop

34020.6k3](/packages/nativephp-desktop)

PHPackages © 2026

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