README.txt
Same filename in this branch
- 11.x sites/README.txt
- 11.x composer/Template/README.txt
- 11.x composer/Plugin/VendorHardening/README.txt
- 11.x profiles/README.txt
- 11.x themes/README.txt
- 11.x modules/README.txt
- 11.x core/profiles/demo_umami/themes/umami/README.txt
- 11.x core/profiles/demo_umami/themes/umami/images/classy/README.txt
- 11.x core/profiles/demo_umami/themes/umami/css/classy/README.txt
- 11.x core/profiles/demo_umami/themes/umami/js/classy/README.txt
- 11.x core/profiles/demo_umami/themes/umami/templates/classy/README.txt
- 11.x core/themes/stable9/README.txt
- 11.x core/themes/claro/images/classy/README.txt
- 11.x core/themes/claro/css/classy/README.txt
- 11.x core/themes/claro/js/classy/README.txt
- 11.x core/themes/claro/templates/classy/README.txt
- 11.x core/themes/stark/README.txt
- 11.x core/modules/sdc/README.txt
- 11.x core/modules/system/tests/src/Functional/UpdateSystem/README.txt
- 11.x core/modules/system/tests/src/Functional/Update/README.txt
- 11.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/README.txt
- 11.x core/tests/fixtures/files/README.txt
- 11.x core/assets/scaffold/README.txt
- 11.x core/assets/vendor/tabbable/README.txt
- 11.x core/lib/Drupal/Core/README.txt
- 11.x core/lib/Drupal/Component/Render/README.txt
- 11.x core/lib/Drupal/Component/Assertion/README.txt
- 11.x core/lib/Drupal/Component/Discovery/README.txt
- 11.x core/lib/Drupal/Component/FileSecurity/README.txt
- 11.x core/lib/Drupal/Component/FileCache/README.txt
- 11.x core/lib/Drupal/Component/Utility/README.txt
- 11.x core/lib/Drupal/Component/README.txt
- 11.x core/lib/Drupal/Component/Graph/README.txt
- 11.x core/lib/Drupal/Component/DependencyInjection/README.txt
- 11.x core/lib/Drupal/Component/FrontMatter/README.txt
- 11.x core/lib/Drupal/Component/Version/README.txt
- 11.x core/lib/Drupal/Component/Serialization/README.txt
- 11.x core/lib/Drupal/Component/ClassFinder/README.txt
- 11.x core/lib/Drupal/Component/ProxyBuilder/README.txt
- 11.x core/lib/Drupal/Component/EventDispatcher/README.txt
- 11.x core/lib/Drupal/Component/Diff/README.txt
- 11.x core/lib/Drupal/Component/FileSystem/README.txt
- 11.x core/lib/Drupal/Component/Gettext/README.txt
- 11.x core/lib/Drupal/Component/PhpStorage/README.txt
- 11.x core/lib/Drupal/Component/Datetime/README.txt
- 11.x core/lib/Drupal/Component/Transliteration/README.txt
- 11.x core/lib/Drupal/Component/Annotation/README.txt
- 11.x core/lib/Drupal/Component/HttpFoundation/README.txt
- 11.x core/lib/Drupal/Component/Uuid/README.txt
- 11.x core/lib/Drupal/Component/Plugin/README.txt
- 11.x core/lib/README.txt
Same filename in other branches
- 7.x sites/README.txt
- 7.x sites/all/themes/README.txt
- 7.x sites/all/modules/README.txt
- 7.x sites/all/libraries/README.txt
- 7.x profiles/README.txt
- 7.x profiles/standard/translations/README.txt
- 7.x profiles/minimal/translations/README.txt
- 7.x README.txt
- 7.x themes/README.txt
- 7.x themes/stark/README.txt
- 7.x modules/README.txt
- 7.x modules/simpletest/files/README.txt
- 9 sites/README.txt
- 9 composer/Template/README.txt
- 9 composer/Metapackage/README.txt
- 9 composer/Plugin/VendorHardening/README.txt
- 9 profiles/README.txt
- 9 themes/README.txt
- 9 modules/README.txt
- 9 core/profiles/demo_umami/themes/umami/README.txt
- 9 core/profiles/demo_umami/themes/umami/images/classy/README.txt
- 9 core/profiles/demo_umami/themes/umami/css/classy/README.txt
- 9 core/profiles/demo_umami/themes/umami/js/classy/README.txt
- 9 core/profiles/demo_umami/themes/umami/templates/classy/README.txt
- 9 core/themes/stable9/README.txt
- 9 core/themes/stable9/images/README.txt
- 9 core/themes/seven/README.txt
- 9 core/themes/seven/images/classy/README.txt
- 9 core/themes/seven/css/classy/README.txt
- 9 core/themes/seven/js/classy/README.txt
- 9 core/themes/seven/templates/classy/README.txt
- 9 core/themes/claro/images/classy/README.txt
- 9 core/themes/claro/css/classy/README.txt
- 9 core/themes/claro/js/classy/README.txt
- 9 core/themes/claro/templates/classy/README.txt
- 9 core/themes/stark/README.txt
- 9 core/themes/bartik/README.txt
- 9 core/themes/bartik/images/classy/README.txt
- 9 core/themes/bartik/css/classy/README.txt
- 9 core/themes/bartik/js/classy/README.txt
- 9 core/themes/bartik/templates/classy/README.txt
- 9 core/themes/stable/README.txt
- 9 core/themes/classy/README.txt
- 9 core/modules/system/tests/src/Functional/UpdateSystem/README.txt
- 9 core/modules/system/tests/src/Functional/Update/README.txt
- 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/README.txt
- 9 core/tests/fixtures/files/README.txt
- 9 core/assets/scaffold/README.txt
- 9 core/assets/vendor/tabbable/README.txt
- 9 core/lib/Drupal/Core/README.txt
- 9 core/lib/Drupal/Component/Render/README.txt
- 9 core/lib/Drupal/Component/Assertion/README.txt
- 9 core/lib/Drupal/Component/Discovery/README.txt
- 9 core/lib/Drupal/Component/FileSecurity/README.txt
- 9 core/lib/Drupal/Component/FileCache/README.txt
- 9 core/lib/Drupal/Component/Utility/README.txt
- 9 core/lib/Drupal/Component/README.txt
- 9 core/lib/Drupal/Component/Graph/README.txt
- 9 core/lib/Drupal/Component/DependencyInjection/README.txt
- 9 core/lib/Drupal/Component/FrontMatter/README.txt
- 9 core/lib/Drupal/Component/Version/README.txt
- 9 core/lib/Drupal/Component/Serialization/README.txt
- 9 core/lib/Drupal/Component/ClassFinder/README.txt
- 9 core/lib/Drupal/Component/ProxyBuilder/README.txt
- 9 core/lib/Drupal/Component/EventDispatcher/README.txt
- 9 core/lib/Drupal/Component/Diff/README.txt
- 9 core/lib/Drupal/Component/FileSystem/README.txt
- 9 core/lib/Drupal/Component/Gettext/README.txt
- 9 core/lib/Drupal/Component/Bridge/README.txt
- 9 core/lib/Drupal/Component/PhpStorage/README.txt
- 9 core/lib/Drupal/Component/Datetime/README.txt
- 9 core/lib/Drupal/Component/Transliteration/README.txt
- 9 core/lib/Drupal/Component/Annotation/README.txt
- 9 core/lib/Drupal/Component/HttpFoundation/README.txt
- 9 core/lib/Drupal/Component/Uuid/README.txt
- 9 core/lib/Drupal/Component/Plugin/README.txt
- 9 core/lib/README.txt
- 8.9.x sites/README.txt
- 8.9.x composer/Template/README.txt
- 8.9.x composer/Metapackage/README.txt
- 8.9.x composer/Plugin/VendorHardening/README.txt
- 8.9.x profiles/README.txt
- 8.9.x README.txt
- 8.9.x themes/README.txt
- 8.9.x modules/README.txt
- 8.9.x core/profiles/demo_umami/themes/umami/README.txt
- 8.9.x core/profiles/demo_umami/themes/umami/images/classy/README.txt
- 8.9.x core/profiles/demo_umami/themes/umami/css/classy/README.txt
- 8.9.x core/profiles/demo_umami/themes/umami/js/classy/README.txt
- 8.9.x core/profiles/demo_umami/themes/umami/templates/classy/README.txt
- 8.9.x core/themes/seven/README.txt
- 8.9.x core/themes/seven/images/classy/README.txt
- 8.9.x core/themes/seven/css/classy/README.txt
- 8.9.x core/themes/seven/js/classy/README.txt
- 8.9.x core/themes/seven/templates/classy/README.txt
- 8.9.x core/themes/claro/images/classy/README.txt
- 8.9.x core/themes/claro/css/classy/README.txt
- 8.9.x core/themes/claro/js/classy/README.txt
- 8.9.x core/themes/claro/templates/classy/README.txt
- 8.9.x core/themes/stark/README.txt
- 8.9.x core/themes/bartik/README.txt
- 8.9.x core/themes/bartik/images/classy/README.txt
- 8.9.x core/themes/bartik/css/classy/README.txt
- 8.9.x core/themes/bartik/js/classy/README.txt
- 8.9.x core/themes/bartik/templates/classy/README.txt
- 8.9.x core/themes/stable/README.txt
- 8.9.x core/themes/classy/README.txt
- 8.9.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/README.txt
- 8.9.x core/tests/fixtures/files/README.txt
- 8.9.x core/assets/scaffold/README.txt
- 8.9.x core/lib/Drupal/Core/README.txt
- 8.9.x core/lib/Drupal/Component/Render/README.txt
- 8.9.x core/lib/Drupal/Component/Assertion/README.txt
- 8.9.x core/lib/Drupal/Component/Discovery/README.txt
- 8.9.x core/lib/Drupal/Component/FileSecurity/README.txt
- 8.9.x core/lib/Drupal/Component/FileCache/README.txt
- 8.9.x core/lib/Drupal/Component/Utility/README.txt
- 8.9.x core/lib/Drupal/Component/README.txt
- 8.9.x core/lib/Drupal/Component/Graph/README.txt
- 8.9.x core/lib/Drupal/Component/DependencyInjection/README.txt
- 8.9.x core/lib/Drupal/Component/Version/README.txt
- 8.9.x core/lib/Drupal/Component/Serialization/README.txt
- 8.9.x core/lib/Drupal/Component/ClassFinder/README.txt
- 8.9.x core/lib/Drupal/Component/ProxyBuilder/README.txt
- 8.9.x core/lib/Drupal/Component/EventDispatcher/README.txt
- 8.9.x core/lib/Drupal/Component/Diff/README.txt
- 8.9.x core/lib/Drupal/Component/FileSystem/README.txt
- 8.9.x core/lib/Drupal/Component/Gettext/README.txt
- 8.9.x core/lib/Drupal/Component/Bridge/README.txt
- 8.9.x core/lib/Drupal/Component/PhpStorage/README.txt
- 8.9.x core/lib/Drupal/Component/Datetime/README.txt
- 8.9.x core/lib/Drupal/Component/Transliteration/README.txt
- 8.9.x core/lib/Drupal/Component/Annotation/README.txt
- 8.9.x core/lib/Drupal/Component/HttpFoundation/README.txt
- 8.9.x core/lib/Drupal/Component/Uuid/README.txt
- 8.9.x core/lib/Drupal/Component/Plugin/README.txt
- 8.9.x core/lib/README.txt
- 10 sites/README.txt
- 10 composer/Template/README.txt
- 10 composer/Metapackage/README.txt
- 10 composer/Plugin/VendorHardening/README.txt
- 10 profiles/README.txt
- 10 themes/README.txt
- 10 modules/README.txt
- 10 core/profiles/demo_umami/themes/umami/README.txt
- 10 core/profiles/demo_umami/themes/umami/images/classy/README.txt
- 10 core/profiles/demo_umami/themes/umami/css/classy/README.txt
- 10 core/profiles/demo_umami/themes/umami/js/classy/README.txt
- 10 core/profiles/demo_umami/themes/umami/templates/classy/README.txt
- 10 core/themes/stable9/README.txt
- 10 core/themes/claro/images/classy/README.txt
- 10 core/themes/claro/css/classy/README.txt
- 10 core/themes/claro/js/classy/README.txt
- 10 core/themes/claro/templates/classy/README.txt
- 10 core/themes/stark/README.txt
- 10 core/modules/sdc/README.txt
- 10 core/modules/system/tests/src/Functional/UpdateSystem/README.txt
- 10 core/modules/system/tests/src/Functional/Update/README.txt
- 10 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/README.txt
- 10 core/tests/fixtures/files/README.txt
- 10 core/assets/scaffold/README.txt
- 10 core/assets/vendor/tabbable/README.txt
- 10 core/lib/Drupal/Core/README.txt
- 10 core/lib/Drupal/Component/Render/README.txt
- 10 core/lib/Drupal/Component/Assertion/README.txt
- 10 core/lib/Drupal/Component/Discovery/README.txt
- 10 core/lib/Drupal/Component/FileSecurity/README.txt
- 10 core/lib/Drupal/Component/FileCache/README.txt
- 10 core/lib/Drupal/Component/Utility/README.txt
- 10 core/lib/Drupal/Component/README.txt
- 10 core/lib/Drupal/Component/Graph/README.txt
- 10 core/lib/Drupal/Component/DependencyInjection/README.txt
- 10 core/lib/Drupal/Component/FrontMatter/README.txt
- 10 core/lib/Drupal/Component/Version/README.txt
- 10 core/lib/Drupal/Component/Serialization/README.txt
- 10 core/lib/Drupal/Component/ClassFinder/README.txt
- 10 core/lib/Drupal/Component/ProxyBuilder/README.txt
- 10 core/lib/Drupal/Component/EventDispatcher/README.txt
- 10 core/lib/Drupal/Component/Diff/README.txt
- 10 core/lib/Drupal/Component/FileSystem/README.txt
- 10 core/lib/Drupal/Component/Gettext/README.txt
- 10 core/lib/Drupal/Component/PhpStorage/README.txt
- 10 core/lib/Drupal/Component/Datetime/README.txt
- 10 core/lib/Drupal/Component/Transliteration/README.txt
- 10 core/lib/Drupal/Component/Annotation/README.txt
- 10 core/lib/Drupal/Component/HttpFoundation/README.txt
- 10 core/lib/Drupal/Component/Uuid/README.txt
- 10 core/lib/Drupal/Component/Plugin/README.txt
- 10 core/lib/README.txt
# Drupal Metapackages A metapackage is a Composer package that contains only a composer.json, and has no other content. In other words, the purpose of a metapackage is to provide dependencies, not to provide code or data. ## Metapackages Provided by Drupal Core Drupal Core provides three metapackages that serve different purposes. - drupal/core-recommended: This project pins to the exact version of each dependency used in drupal/core. It also requires drupal/core, so drupal/core-recommended should be used INSTEAD OF drupal/core. See usage diagram below. This relationship makes it easier for Composer to update a Drupal project. - drupal/core-dev: This project provides the same version constraints as Drupal uses for testing. It is useful for projects that either wish to run some of the Drupal tests directly, or for projects that may wish to use the same components that Drupal does for testing. - drupal/core-dev-pinned: This project should be used INSTEAD OF drupal/core-dev in instances where a project wishes to pin to the exact version of each testing dependency used in Drupal. This in general should not be necessary. Note that a project that uses both drupal/core-recommended and drupal/core-dev-pinned must update them both at the same time, e.g.: composer update drupal/core-recommended drupal/core-dev-pinned --with-dependencies Composer may have trouble with the update if one of these projects is listed on the command line without the other. Running composer update without any parameters should also work, because in this instance every dependency is updated. ## Metapackage Usage in Template Projects The relationship between the metapackages drupal/core-recommended and drupal/core-dev and the project (subtree split) drupal/core, as used in the drupal/recommended-project is shown below: +----------------------------+ | drupal/recommended-project | +----------------------------+ | +--"require": | | | | +-------------------------+ +-------------+ | +-->| drupal/core-recommended |-->| drupal/core | | +-------------------------+ +-------------+ | +--"require-dev": | | +-------------------------+ +-->| drupal/core-dev | +-------------------------+ If a user does not wish to pin their Drupal project's dependencies to the same versions used in drupal/core, then they should replace drupal/core-recommended with drupal/core in their "require" section. If a user does not need the testing dependencies in their Drupal project, then they may simply remove drupal/core-dev from the "require-dev" section.
File
-
composer/
Metapackage/ README.txt
View source
- # Drupal Metapackages
-
- A metapackage is a Composer package that contains only a composer.json, and
- has no other content. In other words, the purpose of a metapackage is to
- provide dependencies, not to provide code or data.
-
-
- ## Metapackages Provided by Drupal Core
-
- Drupal Core provides three metapackages that serve different purposes.
-
- - drupal/core-recommended: This project pins to the exact version of each
- dependency used in drupal/core. It also requires drupal/core, so
- drupal/core-recommended should be used INSTEAD OF drupal/core. See usage
- diagram below. This relationship makes it easier for Composer to update
- a Drupal project.
-
- - drupal/core-dev: This project provides the same version constraints as Drupal
- uses for testing. It is useful for projects that either wish to run some of
- the Drupal tests directly, or for projects that may wish to use the same
- components that Drupal does for testing.
-
- - drupal/core-dev-pinned: This project should be used INSTEAD OF
- drupal/core-dev in instances where a project wishes to pin to the exact
- version of each testing dependency used in Drupal. This in general should not
- be necessary.
-
- Note that a project that uses both drupal/core-recommended and
- drupal/core-dev-pinned must update them both at the same time, e.g.:
-
- composer update drupal/core-recommended drupal/core-dev-pinned --with-dependencies
-
- Composer may have trouble with the update if one of these projects is listed
- on the command line without the other. Running composer update without any
- parameters should also work, because in this instance every dependency is
- updated.
-
-
- ## Metapackage Usage in Template Projects
-
- The relationship between the metapackages drupal/core-recommended and
- drupal/core-dev and the project (subtree split) drupal/core, as used in the
- drupal/recommended-project is shown below:
-
- +----------------------------+
- | drupal/recommended-project |
- +----------------------------+
- |
- +--"require":
- | |
- | | +-------------------------+ +-------------+
- | +-->| drupal/core-recommended |-->| drupal/core |
- | +-------------------------+ +-------------+
- |
- +--"require-dev":
- |
- | +-------------------------+
- +-->| drupal/core-dev |
- +-------------------------+
-
- If a user does not wish to pin their Drupal project's dependencies to the same
- versions used in drupal/core, then they should replace drupal/core-recommended
- with drupal/core in their "require" section.
-
- If a user does not need the testing dependencies in their Drupal project, then
- they may simply remove drupal/core-dev from the "require-dev" section.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.