定制 guyiday/guyiday-drupal-distribution 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

guyiday/guyiday-drupal-distribution

最新稳定版本:v1.0.0

Composer 安装命令:

composer require guyiday/guyiday-drupal-distribution

包简介

The Burst Drupal distribution. For internal use only.

README 文档

README

Because we use Drupal 9 a lot, this makes all of our lives easier.

This distribution aims to remove the amount of boilerplate code we have in our projects. Less copy-pasting between projects, more re-using the same code.

How to use

Create a composer.json, and make sure it contains at least the following:

{
  "type": "project",
  "minimum-stability": "dev",
  "prefer-stable": true,
  "repositories": [
    {
      "type": "composer",
      "url": "https://packages.drupal.org/8"
    }
  ],
  "require": {},
  "extra": {
    "installer-paths": {
      "web/core": [
        "type:drupal-core"
      ],
      "web/libraries/{$name}": [
        "type:drupal-library"
      ],
      "web/modules/contrib/{$name}": [
        "type:drupal-module"
      ],
      "web/profiles/contrib/{$vendor}-{$name}": [
        "type:drupal-profile"
      ],
      "web/themes/contrib/{$name}": [
        "type:drupal-theme"
      ],
      "drush/contrib/{$name}": [
        "type:drupal-drush"
      ]
    },
    "enable-patching": true,
    "drupal-scaffold": {
      "locations": {
        "web-root": "web"
      }
    },
    "composer-exit-on-patch-failure": true
  },
  "config": {
    "sort-packages": true,
    "discard-changes": true,
    "platform": {
      "php": "7.4.999",
      "ext-curl": "7.4.999",
      "ext-gd": "7.4.999"
    }
  }
}

Note the following:

  • No drupal/core is required, it is already required by the Burst distribution.

Then, run composer require burst/drupal-distribution.

Now, the best step of all.. replace /web/sites/default/settings.php with the following:

<?php

// This also includes settings.local.php and settings.ddev.php if these files exist.
require __DIR__ . '/../../profiles/contrib/burst-drupal-distribution/includes/settings.php';

Boom! This includes all configuration needed for Platform.sh, Lando, and probabily other services in the future.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-01-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固