承接 drupal/empire 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

drupal/empire

Composer 安装命令:

composer require drupal/empire

包简介

Paste your YouTube channel. Empire builds your video site.

README 文档

README

Paste your YouTube channel. Empire builds your video site.

Empire is a Drupal CMS site template that turns a YouTube channel into a streaming-style video site — a cinematic homepage, browsable collections, and editable video pages — without the site owner needing to understand Drupal.

What you get

  • A hero billboard, Latest row, and collection rails on the homepage.
  • A video page for every imported video, with the YouTube player embedded via consent-aware oEmbed.
  • Editorial control: change titles, write descriptions, upload custom artwork (which overrides the YouTube thumbnail), organize videos into collections, and feature videos — none of which is overwritten when new videos import.
  • Audience capture: contact form and newsletter signup.

The three packages

PackageTypeOwns
drupal/empiredrupal-recipeContent model, Feeds feed types, Views, default content, roles, docs
drupal/empire_themethemeSDC components, view modes, design tokens, Canvas registration
drupal/empire_toolsmoduleOnboarding + homepage layout: channel resolver, feed provisioning, import orchestration, dashboard, Canvas homepage composition (HomepageBuilder)

Feeds does the ingestion. Drupal does the content/rendering. Empire Tools makes it feel like a product.

Install

From a Drupal 11.3+ project (Drupal CMS 2.x). Empire composes the Drupal CMS baselines, which pull a few pre-stable dependencies (e.g. webform 6.3-rc, and drupal_cms_site_template_base is dev-only), so Composer must be allowed to resolve them. Set the stability flags once, then require and apply:

composer config minimum-stability dev
composer config prefer-stable true
composer require drupal/empire
drush recipe empire
drush cache:rebuild

minimum-stability: dev + prefer-stable: true is required — without it Composer refuses the baselines' pre-stable deps and the require fails. prefer-stable still prefers stable releases wherever one exists, so only the genuinely pre-stable packages come in pre-stable.

Empire composes the drupal_cms_site_template_base baseline, so applying the recipe on a minimal site builds everything: the baseline, the empire_theme theme + empire_tools module, the content model and Views, and the composed homepage. (See docs/setup.md for the from-zero clean install.)

From source (development)

Working from a clone of the monorepo? Under DDEV drush runs from the docroot, so apply the recipe by its absolute in-container path:

ddev drush recipe /var/www/html/recipes/empire
ddev drush cache:rebuild

Use it

  1. Go to /admin/empire/setup.
  2. Paste your channel — an @handle, a channel URL, a UC… ID, or a feed URL.
  3. Click Build my site. Empire resolves the channel, provisions the feeds, imports recent videos, and you are done.
  4. Manage everything from the /admin/empire dashboard.

Roles & trust

Applying the recipe grants the standard content_editor role the Empire permissions — including configure Empire channel and refresh Empire imports, which make outbound requests to YouTube and create content in bulk (both are flagged restrict-access). For a multi-author or untrusted-editor site, move those two permissions to an admin/site-manager role; see docs/architecture.md for the full trust rationale.

Documentation

drupal/empire 适用场景与选型建议

drupal/empire 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 06 月 10 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 drupal/empire 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 drupal/empire 我们能提供哪些服务?
定制开发 / 二次开发

基于 drupal/empire 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

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