raini/drupal-ddev-scaffold 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

raini/drupal-ddev-scaffold

Composer 安装命令:

composer create-project raini/drupal-ddev-scaffold

包简介

A Drupal project scaffolded with raini/drupal and DDEV.

README 文档

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

# 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.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-07-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固