Skip to content

gregcy/drupal-template

Repository files navigation

Drupal Starter Template

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.

Requirements

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

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

DDEV

todo

What is Included

Core and Contrib modules:

Development modules (require-dev)

Composer Patches

The cweagnas/composer-patches is included to allow management of patches for both Drupal core and contributed modules using the composer.json file.

Libraries Installation via Composer

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.

development.services.yml

To prevent the Drupal core package overriding the development.services.yml file it has been exlcluded from the Drupal scafolding.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages