This is a starter template for Drupal 10 projects. It includes a basic setup for a Drupal 10 site along with config split setup with a development profile that includes all tools required for local development.
It also includes both Lando and DDEV configurations to create the local development stack with a single command.
To use either Lando or DDEV, you need to have them setup on your local machine. You can find the installation instructions for both tools below:
Lando is configured to use the following:
- PHP 8.3
- MySQL 8.0
- Nginx 1.21
- Composer 2.7
To start the Lando environment, run the following command:
lando start
You can enable or disable Xdebug by running the following commands after you start the Lando environment:
lando xdebug-on
lando xdebug-off
todo
- Devel
- Devel Kint Extras
- Drupal Coder
- Drupal Examples
- Project Browser
- Stage File Proxy
- Upgrade Status
- Webprofiler
The cweagnas/composer-patches is included to allow management of patches for both Drupal core and contributed modules using the composer.json file.
The oomphinc/composer-installers-extender in combination with cweagans/composer-patches is used to allow the installation of libraries via Composer.
If you are going to manually manage the libraries you should update the .gitgnore file to exclude the libraries folder.
To prevent the Drupal core package overriding the development.services.yml file it has been exlcluded from the Drupal scafolding.