drupal/console

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

Package info

github.com/hechoendrupal/drupal-console

Homepage

Forum

Documentation

pkg:composer/drupal/console

Fund package maintenance!

Open Collective

Statistics

Installs: 15 133 476

Dependents: 221

Suggesters: 3

Stars: 933

Open Issues: 259

1.9.10 2022-10-02 14:56 UTC

Requires (Dev)

None

Suggests

  • symfony/thanks: Thank your favorite PHP projects on GitHub using the CLI
  • vlucas/phpdotenv: Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically

Provides

None

Conflicts

None

Replaces

None

GPL-2.0-or-later 7027117c82cd8b9d9f3fb89558a088e0575434d3

symfonyconsoledevelopmentdrupal

This package is auto-updated.

Last update: 2026-06-22 22:03:09 UTC


README

Sunsetting the project

Drupal Console became essential for thousands of developers worldwide with over 15 million downloads, support for 19 languages, and 200+ commands. It significantly improved Drupal 8+ development workflows and reduced project delivery times.

There is no need to maintain the project any longer, and that’s a good thing. As Drupal 8 matured, the ecosystem evolved with it. Drush embraced many of the interactive features that once made Drupal Console stand out, while also adopting the modern PHP and Symfony components that defined the new era of Drupal.

The goal was never to compete, it was to modernize the CLI in Drupal, and we can say: mission accomplished. So today, there’s no need to maintain two different tools because Drush evolved, and picked up the torch. The mission was a success.

πŸ‘ Image

None of this could have been possible without the incredible support of the community. It’s amazing how a project that started as a Drupal 8 learning exercise grew to the point to be considered for the Drupal community a must-have tool to accelerate Drupal 8 development.

Thank you all for using the project, for attending talks at events, for providing feedback, creating issues, and sending pull requests, for spreading the word and love about the project sending a tweet, writing a blog post or recording a video, and very special thanks to all of the awesome contributors.

So the project is sunsetting, not because it failed, but because it succeeded.

Table of Contents generated with DocToc

Drupal Console

πŸ‘ Gitter
πŸ‘ Build Status
πŸ‘ Latest Stable Version
πŸ‘ Latest Unstable Version
πŸ‘ Software License
πŸ‘ SensioLabsInsight

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

Latest Version

Details of the latest version can be found on the Drupal Console project page under https://drupalconsole.com/.

Releases Page

All notable changes to this project will be documented in the releases page

Documentation

The most up-to-date documentation can be found at https://drupalconsole.com/docs/.

More information about using this project at the official documentation.

Required PHP Version

PHP 5.5.9 or higher is required to use the Drupal Console application.

Download

Install Drupal Console Using Composer

Install Drupal Console Launcher

Installing Drupal Console on Windows

Run

Using the DrupalConsole Launcher

drupal

We highly recommend you to install the global executable, but if is not installed, you can run Drupal Console depending on your installation by executing:

vendor/bin/drupal
# or
vendor/drupal/console/bin/drupal
# or
bin/drupal

Drupal Console Support

You can ask for support at Drupal Console gitter chat room http://bit.ly/console-support.

Contribute to Drupal Console

Enabling Autocomplete

# You can enable autocomplete by executing
drupal init

# Bash: Bash support depends on the http://bash-completion.alioth.debian.org/
# project which can be installed with your package manager of choice. Then add
# this line to your shell configuration file.
source "$HOME/.console/console.rc" 2>/dev/null

# Zsh: Add this line to your shell configuration file.
source "$HOME/.console/console.rc" 2>/dev/null

# Fish: Create a symbolic link
ln -s ~/.console/drupal.fish ~/.config/fish/completions/drupal.fish

Contributors

Full list of contributors

Supporting Organizations

All supporting organizations

Drupal is a registered trademark of Dries Buytaert.