The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
PHP HTML CSS
Latest commit 86df4f8 Feb 23, 2017 @nvaken nvaken committed with jmolivas Prevent special characters in passwords and other args to mess up the… (
#3190)

* Prevent special characters in passwords and other args to mess up the command

This should fix hechoendrupal/drupal-console#3189

* Might as well quote the pgsql driver command

Adresses issue hechoendrupal/drupal-console#3189

* Debug should be false by default, fixing issue hechoendrupal/drupal-console#3179
Permalink
Failed to load latest commit information.
.github [console] Update contributing and issue template. (#3062) Jan 2, 2017
Test Added functionality from $node entity to make generated entities revi… Oct 14, 2016
bin Update compile services file. (#3157) Feb 5, 2017
config/services Adding new command to generate process plugin of migrate. (#3116) Jan 21, 2017
resources CSS styling Nov 10, 2015
src Prevent special characters in passwords and other args to mess up the… ( Feb 23, 2017
templates Correcting cache context service tag name. (#3171) Feb 11, 2017
.gitignore Load uninstall.services.yml file. (#3178) Feb 14, 2017
.php_cs [console] Convert array short syntax. (#3057) Jan 1, 2017
.travis.yml [WIP] Remove relocated code on drupal-console-core (#2583) Aug 17, 2016
CONTRIBUTING.md [console] Update contributing and issue template. (#3062) Jan 2, 2017
LICENSE.txt Create LICENSE.txt Jan 11, 2016
README.md [console] Update readme. (#2994) Dec 3, 2016
autoload.local.php.dist [console] Add autoload.local.php.dist file. (#2966) Nov 18, 2016
autoload.php.dist Rename project namespace AppConsole => Console Sep 21, 2015
box.json [console] Remove requirements.yml from box.json file. Feb 13, 2016
composer.json [console] Tag 1.0.0-rc16 release. (#3169) Feb 9, 2017
composer.lock [console] Tag 1.0.0-rc16 release. (#3169) Feb 9, 2017
config.yml [#2593] Update config.yml (remove autowire force). (#2674) Sep 9, 2016
phpqa.yml [console] Apply PSR-2 code style. (#3064) Jan 2, 2017
phpunit.xml.dist Rename project namespace AppConsole => Console Sep 21, 2015
services.yml Add composer extend plugin. (#3167) Feb 9, 2017
uninstall.services.yml Load uninstall.services.yml file. (#3178) Feb 14, 2017

README.md

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 http://docs.drupalconsole.com/.

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 as new dependency

# Change directory to Drupal site
cd /path/to/drupal8.dev

# Download DrupalConsole
composer require drupal/console:~1.0 \
--prefer-dist \
--optimize-autoloader \
--sort-packages

Download using DrupalComposer

composer create-project \
drupal-composer/drupal-project:8.x-dev \
drupal8.dev \
--prefer-dist \
--no-progress \
--no-interaction

Update DrupalConsole

composer update drupal/console --with-dependencies

Install Drupal Console Launcher

curl https://drupalconsole.com/installer -L -o drupal.phar
mv drupal.phar /usr/local/bin/drupal
chmod +x /usr/local/bin/drupal

NOTE: If you don't have curl you can try

php -r "readfile('https://drupalconsole.com/installer');" > drupal.phar

Update DrupalConsole Launcher 

drupal self-update

NOTE: drupal is the alias name you used when installed the DrupalConsole Launcher.

Run Drupal Console

Using the DrupalConsole Launcher

drupal

We highly recommend you to install the global executable, but if is not installed, then you can run DrupalConsole by:

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.

Getting The Project To Contribute

For information about how to run this project for development follow instructions at setup instructions.

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

Supporting Organizations

weKnow

Anexus

Indava

FFW

Drupal is a registered trademark of Dries Buytaert.