README.txt
Same filename in this branch
- 8.9.x sites/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
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
- 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
- 11.x sites/README.txt
- 11.x composer/Template/README.txt
- 11.x composer/Metapackage/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
Composer-Ready Project Templates ================================ Thanks for using these Drupal project templates. You can participate in its development on Drupal.org, through our issue system: https://www.drupal.org/project/issues/drupal You can get the full Drupal repo here: https://www.drupal.org/project/drupal/git-instructions You can browse the full Drupal repo here: https://git.drupalcode.org/drupal What does it do? ---------------- These project templates serve as a starting point for creating a Composer-managed Drupal site. Once you have selected a template project and created your own site, you will take ownership of your new project files. Thereafter, future updates will be done with Composer. There are two project templates to choose from: 1) drupal/recommended-project: The recommended project creates a new Drupal site with a "relocated document root". This means that the files "index.php" and the "core" directory and so on are placed inside a subfolder named "web" rather than being placed next to "composer.json" and the "vendor" directory at the project root. This layout is recommended because it allows you to configure your web server to only provide access to files inside the "web" directory. Keeping the vendor directory outside of the web server's document root is better for security. 2) drupal/legacy-project: The legacy project creates a new Drupal site that has the same layout used in Drupal 8.7.x and earlier. The files "index.php", the "core" directory and so on are placed directly at the project root next to "composer.json" and the "vendor" directory. The Vendor Hardening plugin is used to ensure the security of this configuration for the Apache and Microsoft IIS web servers. Use the legacy project layout only if there is some reason why you cannot use the recommended project layout. How do I set it up? ------------------- Use Composer to create a new project using the desired starter template: composer -n create-project -s dev drupal/recommended-project my-project Add new modules and themes with `composer require`: composer require drupal/devel:^1 All of your modules and themes can be updated along with Drupal core via: composer update To update only Drupal core without any modules or themes, use: composer update drupal/core-recommended --with-dependencies These template projects use drupal/core-composer-scaffold to place the scaffold files. This plugin allows the top-level composer.json file for a Drupal site to transform the scaffold files in different ways, e.g. to append new entries to the end of robots.txt and so on. For documentation on how scaffolding works, see https://git.drupalcode.org/project/drupal/tree/8.8.x/composer/Plugin/Scaffold
File
-
composer/
Template/ README.txt
View source
- Composer-Ready Project Templates
- ================================
-
- Thanks for using these Drupal project templates.
-
- You can participate in its development on Drupal.org, through our issue system:
- https://www.drupal.org/project/issues/drupal
-
- You can get the full Drupal repo here:
- https://www.drupal.org/project/drupal/git-instructions
-
- You can browse the full Drupal repo here:
- https://git.drupalcode.org/drupal
-
- What does it do?
- ----------------
-
- These project templates serve as a starting point for creating a
- Composer-managed Drupal site. Once you have selected a template project and
- created your own site, you will take ownership of your new project files.
- Thereafter, future updates will be done with Composer.
-
- There are two project templates to choose from:
-
- 1) drupal/recommended-project: The recommended project creates a new Drupal site
- with a "relocated document root". This means that the files "index.php" and the
- "core" directory and so on are placed inside a subfolder named "web" rather than
- being placed next to "composer.json" and the "vendor" directory at the project
- root. This layout is recommended because it allows you to configure your web
- server to only provide access to files inside the "web" directory. Keeping the
- vendor directory outside of the web server's document root is better for
- security.
-
- 2) drupal/legacy-project: The legacy project creates a new Drupal site that has
- the same layout used in Drupal 8.7.x and earlier. The files "index.php", the
- "core" directory and so on are placed directly at the project root next to
- "composer.json" and the "vendor" directory. The Vendor Hardening plugin is used
- to ensure the security of this configuration for the Apache and Microsoft IIS
- web servers. Use the legacy project layout only if there is some reason why you
- cannot use the recommended project layout.
-
-
- How do I set it up?
- -------------------
-
- Use Composer to create a new project using the desired starter template:
-
- composer -n create-project -s dev drupal/recommended-project my-project
-
- Add new modules and themes with `composer require`:
-
- composer require drupal/devel:^1
-
- All of your modules and themes can be updated along with Drupal core via:
-
- composer update
-
- To update only Drupal core without any modules or themes, use:
-
- composer update drupal/core-recommended --with-dependencies
-
- These template projects use drupal/core-composer-scaffold to place the scaffold
- files. This plugin allows the top-level composer.json file for a Drupal site to
- transform the scaffold files in different ways, e.g. to append new entries to
- the end of robots.txt and so on. For documentation on how scaffolding works, see
- https://git.drupalcode.org/project/drupal/tree/8.8.x/composer/Plugin/Scaffold
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.