定制 el7cosmos/drupal-runtime 二次开发

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

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

el7cosmos/drupal-runtime

最新稳定版本:2.1.0

Composer 安装命令:

composer require el7cosmos/drupal-runtime

包简介

Drupal integration with Symfony Runtime

README 文档

README

Integrates Drupal with Symfony Runtime.

The Runtime Component decouples the bootstrapping logic from any global state to make sure the application can run with runtimes like PHP-FPM, ReactPHP, Swoole, etc. without any changes.

Installation

If using composer>=2.2

composer config allow-plugins.symfony/runtime 1

Add drupal scaffold config

composer config --json --merge extra.drupal-scaffold.allowed-packages '["el7cosmos/drupal-runtime"]'

Add symfony runtime template

composer config extra.runtime.autoload_template vendor/el7cosmos/drupal-runtime/assets/autoload_runtime.template

Require this package

composer require el7cosmos/drupal-runtime

Your composer.json should now be something like this:

{
  "config": {
    "allow-plugins": {
      "symfony/runtime": true
    }
  },
  "extra": {
    "drupal-scaffold": {
      "allowed-packages": [
        "el7cosmos/drupal-runtime"
      ]
    },
    "runtime": {
      "autoload_template": "vendor/el7cosmos/drupal-runtime/assets/autoload_runtime.template"
    }
  }
}

You can also manually edit composer.json to match the above example.

Usage

Composer will automatically scaffold following files to use Symfony Runtime:

  • [web-root]/index.php
  • [web-root]/update.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2021-12-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固