paravibe / drush
Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.
Requires
- php: >=8.1
- consolidation/annotated-command: ^4.10
- consolidation/output-formatters: ^4.5
- pear/console_table: ~1.3.1
- psr/log: ^3
- psy/psysh: ^0.12
- symfony/console: ^6.4
- symfony/event-dispatcher: ^6|^7
- symfony/finder: ^6|^7
- symfony/process: ^6|^7
- symfony/var-dumper: ^6|^7
- symfony/yaml: ^6|^7
- webflo/drupal-finder: ^1.1.0
- webmozart/path-util: ~2
Requires (Dev)
- phpunit/phpunit: ^4 || ^7.5.20 || ^9
- squizlabs/php_codesniffer: ^3
- symfony/console: ^6.4
- symfony/event-dispatcher: ^6|^7
- symfony/finder: ^6|^7
- symfony/process: ^6|^7
- symfony/var-dumper: ^6|^7
- symfony/yaml: ^6|^7
- yoast/phpunit-polyfills: ^1
Suggests
- ext-pcntl: *
- drush/config-extra: Provides configuration workflow commands, such as config-merge.
README
Drush is a command line shell and Unix scripting interface for Drupal. Drush core ships with lots of useful commands for interacting with code like modules/themes/profiles. Similarly, it runs update.php, executes sql queries and DB migrations, and misc utilities like run cron or clear cache. Drush can be extended by 3rd party commandfiles.
Resources
- Installing (and Upgrading)
- General Documentation
- API Documentation
- Drush Commands
- To receive notifications on new releases, use GitHub's 'Watch' button and select 'Releases only'. Also, this atom feed.
- Drush packages available via Composer
- A list of modules that include Drush integration
- Drush comes with a full test suite powered by PHPUnit. Each commit gets tested by the awesome Travis.ci continuous integration service.
Support
- Post support requests to Drupal Answers.
- Report bugs and request features in the GitHub Drush Issue Queue.
- Use pull requests (PRs) to contribute to Drush.
FAQ
Q: What does "drush" stand for?
A: The Drupal Shell.Q: How do I pronounce Drush?
A: Some people pronounce the dru with a long 'u' like Drupal. Fidelity points go to them, but they are in the minority. Most pronounce Drush so that it rhymes with hush, rush, flush, etc. This is the preferred pronunciation.Q: Does Drush have unit tests?
A: Drush has an excellent suite of unit tests. See tests/README.md for more information.
Credits
- Originally developed by Arto Bendiken for Drupal 4.7.
- Redesigned by Franz Heinzmann in May 2007 for Drupal 5.
- Maintained by Moshe Weitzman with much help from the folks listed at https://github.com/orgs/drush-ops/people.