Skip to main content

Installing Drupal 8 Modules with Composer

anisur$ composer require drupal/pathauto

Using version ^1.3 for drupal/pathauto
./composer.json has been updated
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
  - Installing drupal/token (1.5.0): Downloading (100%)         
  - Installing drupal/ctools (3.0.0): Downloading (100%)         
  - Installing drupal/pathauto (1.3.0): Downloading (100%)         
Writing lock file
Generating autoload files
> DrupalProject\composer\ScriptHandler::createRequiredFiles
Mds-MacBook-Air:d8blog-composer anisur$ composer require drupal/admin_toolbar
Using version ^1.25 for drupal/admin_toolbar
./composer.json has been updated
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing drupal/admin_toolbar (1.25.0): Downloading (100%)         
Writing lock file
Generating autoload files
> DrupalProject\composer\ScriptHandler::createRequiredFiles
anisur$ drush en pathauto admin_toolbar
The following module(s) will be enabled: pathauto, admin_toolbar, ctools, token

 Do you want to continue? (yes/no) [yes]:
 > yes

 [success] Successfully enabled: pathauto, admin_toolbar, ctools, token
anisur$ drush cr
 [success] Cache rebuild complete.
List updates
anisur$ composer show

alchemy/zippy                         0.4.3              Zippy, the archive manager companion
asm89/stack-cors                      1.2.0              Cross-origin resource sharing library ...
behat/mink                            dev-master d5ee350 Browser controller/emulator abstractio...
behat/mink-browserkit-driver          1.3.3              Symfony2 BrowserKit driver for Mink fr...
behat/mink-goutte-driver              v1.2.1             Goutte driver for Mink framework
behat/mink-selenium2-driver           dev-master 8684ee4 Selenium2 (WebDriver) driver for Mink ...
chi-teck/drupal-code-generator        1.27.0             Drupal code generator
composer/installers                   v1.6.0             A multi-framework Composer library ins...
composer/semver                       1.4.2              Semver library that offers utilities, ...
consolidation/annotated-command       2.11.0             Initialize Symfony Console commands fr...
consolidation/config                  1.1.1              Provide configuration services for a c...
consolidation/log                     1.1.1              Improved Psr-3 / Psr\Log logger based ...
consolidation/output-formatters       3.4.0              Format text by applying transformation...
consolidation/robo                    1.4.3              Modern task runner
consolidation/self-update             1.1.5              Provides a self:update command for Sym...
consolidation/site-alias              1.1.11             Manage alias records for local and rem...
container-interop/container-interop   1.2.0              Promoting the interoperability of cont...
cweagans/composer-patches             1.6.5              Provides a way to patch Composer packa...
dflydev/dot-access-configuration      v1.0.3             Given a deep data structure representi...
dflydev/dot-access-data               v1.1.0             Given a deep data structure, access da...
dflydev/placeholder-resolver          v1.0.2             Given a data source representing key =...
dnoegel/php-xdg-base-dir              0.1                implementation of xdg base directory s...
doctrine/annotations                  v1.6.0             Docblock Annotations Parser
doctrine/cache                        v1.8.0             Caching library offering an object-ori...
doctrine/collections                  v1.5.0             Collections Abstraction library
doctrine/common                       v2.10.0            PHP Doctrine Common project is a libra...
doctrine/event-manager                v1.0.0             Doctrine Event Manager component
doctrine/inflector                    v1.3.0             Common String Manipulations with regar...
doctrine/instantiator                 1.1.0              A small, lightweight utility to instan...
doctrine/lexer                        v1.0.1             Base library for a lexer that can be u...
doctrine/persistence                  v1.1.0             The Doctrine Persistence project is a ...
doctrine/reflection                   v1.0.0             Doctrine Reflection component
drupal-composer/drupal-scaffold       2.5.4              Composer Plugin for updating the Drupa...
drupal/admin_toolbar                  1.25.0             Provides a drop-down menu interface to...
drupal/animations                     1.2.0              Add all sorts of animations to custom ...
drupal/better_exposed_filters         3.0.0-alpha5       Provides advanced options (such as lin...
drupal/block_class                    1.0.0              Allows assigning classes to Blocks.
drupal/blockgroup                     1.1.0              Add block groups to block configuratio...
drupal/coder                          8.3.1              Coder is a library to review Drupal code.
drupal/comments_order                 1.0.0              This module allows to set order for no...
drupal/console                        1.8.0              The Drupal CLI. A tool to generate boi...
drupal/console-core                   1.8.0              Drupal Console Core
drupal/console-en                     1.8.0              Drupal Console English Language
drupal/console-extend-plugin          0.9.2              Drupal Console Extend Plugin
drupal/core                           8.6.7              Drupal is an open source content manag...
drupal/ctools                         3.0.0              Provides a number of utility and helpe...
drupal/field_group                    1.0.0              Provides the field_group module.
drupal/libraries                      3.0.0-alpha1       Allows version-dependent and shared us...
drupal/mailsystem                     4.1.0              Mail System
drupal/manage_display                 1.0.0-alpha6       Make base fields such as 'title' avail...
drupal/owlcarousel                    1.0.0-alpha2       Drupal integration for Owl Carousel
drupal/pathauto                       1.3.0              Provides a mechanism for modules to au...
drupal/quicktabs                      3.0.0-alpha2       Render content with tabs and other dis...
drupal/redirect                       1.3.0              Allows users to redirect from old URLs...
drupal/redirect_404                   1.3.0              Logs 404 errors and allows users to cr...
drupal/redirect_domain                1.3.0              Allows users to redirect between domains.
drupal/sharethis                      2.0.0-beta3        Add the ShareThis widget to nodes on y...
drupal/simplenews                     1.0.0-alpha3       Send newsletters to subscribed email a...
drupal/smtp                           1.0.0-beta4        Allow for site emails to be sent throu...
drupal/social_media_links             2.6.0              The module provides a block that displ...
drupal/social_media_links_field       2.6.0              The module provides a field type to ca...
drupal/taxonomy_menu                  3.4.0              Creates menu items based on associatio...
drupal/token                          1.5.0              Provides a user interface for the Toke...
drupal/views_accordion                1.2.0              Provides an accordion views display pl...
drupal/views_fieldsets                3.3.0              Adds fieldsets to Views.
drupal/views_infinite_scroll          1.5.0              A pager which allows an infinite scrol...
drupal/webform                        5.1.0              Enables the creation of webforms and q...
drush/drush                           9.5.2              Drush is a command line shell and scri...
easyrdf/easyrdf                       0.9.1              EasyRdf is a PHP library designed to m...
egulias/email-validator               1.2.15             A library for validating emails
fabpot/goutte                         v3.2.3             A simple PHP Web Scraper
grasmash/expander                     1.0.0              Expands internal property references i...
grasmash/yaml-expander                1.4.0              Expands internal property references i...
guzzlehttp/guzzle                     6.3.3              Guzzle is a PHP HTTP client library
guzzlehttp/promises                   v1.3.1             Guzzle promises library
guzzlehttp/psr7                       1.5.2              PSR-7 message implementation that also...
instaclick/php-webdriver              1.4.5              PHP WebDriver for Selenium 2
jakub-onderka/php-console-color       v0.2              
jakub-onderka/php-console-highlighter v0.4               Highlight PHP code in terminal
jcalderonzumba/gastonjs               v1.2.0             PhantomJS API based server for webpage...
jcalderonzumba/mink-phantomjs-driver  v0.3.3             PhantomJS driver for Mink framework
league/container                      2.4.1              A fast and intuitive dependency inject...
masterminds/html5                     2.5.0              An HTML5 parser and serializer.
mikey179/vfsStream                    v1.6.5             Virtual file system to mock the real f...
myclabs/deep-copy                     1.8.1              Create deep copies (clones) of your ob...
nikic/php-parser                      v4.2.0             A PHP parser written in PHP
paragonie/random_compat               v2.0.18            PHP 5.x polyfill for random_bytes() an...
phar-io/manifest                      1.0.1              Component for reading phar.io manifest...
phar-io/version                       1.0.1              Library for handling version informati...
phpdocumentor/reflection-common       1.0.1              Common reflection classes used by phpd...
phpdocumentor/reflection-docblock     4.3.0              With this component, a library can pro...
phpdocumentor/type-resolver           0.4.0             
phpspec/prophecy                      1.8.0              Highly opinionated mocking framework f...
phpunit/php-code-coverage             5.3.2              Library that provides collection, proc...
phpunit/php-file-iterator             1.4.5              FilterIterator implementation that fil...
phpunit/php-text-template             1.2.1              Simple template engine.
phpunit/php-timer                     1.0.9              Utility class for timing
phpunit/php-token-stream              2.0.2              Wrapper around PHP's tokenizer extension.
phpunit/phpunit                       6.5.13             The PHP Unit Testing framework.
phpunit/phpunit-mock-objects          5.0.10             Mock Object library for PHPUnit
psr/container                         1.0.0              Common Container Interface (PHP FIG PS...
psr/http-message                      1.0.1              Common interface for HTTP messages
psr/log                               1.1.0              Common interface for logging libraries
psy/psysh                             v0.9.9             An interactive shell for modern PHP.
ralouphie/getallheaders               2.0.5              A polyfill for getallheaders.
sebastian/code-unit-reverse-lookup    1.0.1              Looks up which function or method a li...
sebastian/comparator                  2.1.3              Provides the functionality to compare ...
sebastian/diff                        2.0.1              Diff implementation
sebastian/environment                 3.1.0              Provides functionality to handle HHVM/...
sebastian/exporter                    3.1.0              Provides the functionality to export P...
sebastian/global-state                2.0.0              Snapshotting of global state
sebastian/object-enumerator           3.0.3              Traverses array structures and object ...
sebastian/object-reflector            1.1.1              Allows reflection of object attributes...
sebastian/recursion-context           3.0.0              Provides functionality to recursively ...
sebastian/resource-operations         1.0.0              Provides a list of PHP built-in functi...
sebastian/version                     2.0.1              Library that helps with managing the v...
squizlabs/php_codesniffer             3.4.0              PHP_CodeSniffer tokenizes PHP, JavaScr...
stack/builder                         v1.0.5             Builder for stack middlewares based on...
stecman/symfony-console-completion    0.8.0              Automatic BASH completion for Symfony ...
symfony-cmf/routing                   1.4.1              Extends the Symfony2 routing component...
symfony/browser-kit                   v4.2.2             Symfony BrowserKit Component
symfony/class-loader                  v3.4.21            Symfony ClassLoader Component
symfony/config                        v3.4.21            Symfony Config Component
symfony/console                       v3.4.21            Symfony Console Component
symfony/css-selector                  v3.4.21            Symfony CssSelector Component
symfony/debug                         v3.4.21            Symfony Debug Component
symfony/dependency-injection          v3.4.21            Symfony DependencyInjection Component
symfony/dom-crawler                   v3.4.21            Symfony DomCrawler Component
symfony/event-dispatcher              v3.4.21            Symfony EventDispatcher Component
symfony/filesystem                    v3.4.21            Symfony Filesystem Component
symfony/finder                        v3.4.21            Symfony Finder Component
symfony/http-foundation               v3.4.21            Symfony HttpFoundation Component
symfony/http-kernel                   v3.4.21            Symfony HttpKernel Component
symfony/phpunit-bridge                v3.4.21            Symfony PHPUnit Bridge
symfony/polyfill-ctype                v1.10.0            Symfony polyfill for ctype functions
symfony/polyfill-iconv                v1.10.0            Symfony polyfill for the Iconv extension
symfony/polyfill-mbstring             v1.10.0            Symfony polyfill for the Mbstring exte...
symfony/polyfill-php70                v1.10.0            Symfony polyfill backporting some PHP ...
symfony/process                       v3.4.21            Symfony Process Component
symfony/psr-http-message-bridge       v1.1.0             PSR HTTP message bridge
symfony/routing                       v3.4.21            Symfony Routing Component
symfony/serializer                    v3.4.21            Symfony Serializer Component
symfony/translation                   v3.4.21            Symfony Translation Component
symfony/validator                     v3.4.21            Symfony Validator Component
symfony/var-dumper                    v3.4.21            Symfony mechanism for exploring and du...
symfony/yaml                          v3.4.21            Symfony Yaml Component
theseer/tokenizer                     1.1.0              A small library for converting tokeniz...
twig/twig                             v1.37.1            Twig, the flexible, fast, and secure t...
typo3/phar-stream-wrapper             v2.0.1             Interceptors for PHP's native phar:// ...
vlucas/phpdotenv                      v2.5.2             Loads environment variables from `.env...
webflo/drupal-core-require-dev        8.6.7              require-dev dependencies from drupal/core
webflo/drupal-finder                  1.1.0              Helper class to locate a Drupal instal...
webmozart/assert                      1.4.0              Assertions to validate method input/ou...
webmozart/path-util                   2.3.0              A robust cross-platform utility for no...
zendframework/zend-diactoros          1.8.6              PSR HTTP Message implementations
zendframework/zend-escaper            2.6.0              Securely and safely escape HTML, HTML ...
zendframework/zend-feed               2.10.3             provides functionality for consuming R...
zendframework/zend-stdlib             3.2.1              SPL extensions, array utilities, error...
anisur$ composer require drupal/backup_migrate

Using version ^4.0 for drupal/backup_migrate
./composer.json has been updated
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing drupal/backup_migrate (4.0.0): Downloading (100%)         
Writing lock file
Generating autoload files
> DrupalProject\composer\ScriptHandler::createRequiredFiles
Mds-MacBook-Air:d8blog-composer anisur$ drush en backup_migrate
 [warning] The configuration name "backup_migrate.backup_migrate_schedule.daily" does not match the ID "daily_schedule" ConfigInstaller.php:345
 [success] Successfully enabled: backup_migrate
Back to top