raini / drupal-ddev-scaffold
A Drupal project scaffolded with raini/drupal and DDEV.
Package info
gitlab.com/tinkersmith/raini-drupal-ddev-scaffold
Type:project
pkg:composer/raini/drupal-ddev-scaffold
Requires
Requires (Dev)
- raini/dev: ^1.0@rc
- raini/drupal: ^1.0@rc
This package is not auto-updated.
Last update: 2026-07-14 14:49:16 UTC
README
Creates a Drupal project using DDEV and Raini tooling.
Create DDEV Containers
Set up DDEV container and environment for running your project.
ddev config --docroot=docroot --project-type=drupal11 \
--disable-settings-management \
--webserver-type=apache-fpm \
--corepack-enable
Redis or Memcached
Drupal works better when it uses a caching service. Which one you use may depend on the target hosting of your project. Redis is generally recommended, and is the choice for AWS ElasticCache or Pantheon hosting.
Acquia uses Memcached with its hosting and thereforce you should set up your project to use Memcached in order to match the settings.
For a Redis/Valkey cache:
ddev add-on get ddev/ddev-redis
For a Memcached cache:
ddev add-on get ddev/ddev-memcached
Solr
Add Solr Container to DDEV (prefer version 9.x).
ddev add-on get ddev/ddev-solr
Ensure that you are using the version of Solr supported by your target hosting, but where possible use the latest version to get the most recent security updates and feature support.
Copy the solr configset into .ddev/solr/configsets/<core-name> directory. DDEV
will apply the configurations from the configsets directory into Solr cores.
See documentation
for more information about configuring versions and SOLR_MODULES. Generally
the defaults will work for most AWS or Acquia projects with the version 9.x or
newer.
Create & Initialize Project
Using your DDEV CLI container you can run the following commands.
ddev composer create-project --stability=dev raini/drupal-ddev-scaffold
# Copy CLI commands for DDEV (optional).
cp -a .raini/templates/ddev/web/commands/ .ddev/commands/web/
# Command to configure the project and generate a Drupal installation.
ddev raini create
ddev raini generate
This will leverage PHP and PHP Composer installed in the web CLI container provided by DDev.
Additional packages
Hosting Options
- raini/drupal-aws -- Support S3 file & database sync, Secrets Manager and SSM parameters
- raini/acquia -- Setup Acquia hooks, and Acquia compatible settings.php. Support for multi-site.