定制 undkonsorten/extbase-cli-aware-configuration-manager 二次开发

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

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

undkonsorten/extbase-cli-aware-configuration-manager

最新稳定版本:0.1.1

Composer 安装命令:

composer require undkonsorten/extbase-cli-aware-configuration-manager

包简介

Get Extbase injections working in your TYPO3 project by configuring the site to be used for settings and TypoScript

README 文档

README

This extension provides a configuration manager for cli context in TYPO3.

So if you need for example typoscript settings in cli context e.g. commands this extension helps to do so.

The extension needs to be configured in the Service.yaml or Service.php:

TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface: alias: 'Undkonsorten\ExtbaseCliAwareConfigurationManager\Configuration\CliAwareConfigurationManager' public: true Undkonsorten\ExtbaseCliAwareConfigurationManager\Configuration\CommandLineInterfaceConfigurationManager: arguments: $siteIdentifier: 'SomeSiteIdentifier' 

The extension will look for typoscript setting on the site with identifier 'SomeSiteIdentifier'.

This extension also solves the problem using extbase repositories within cli context e.g. this error:

[ RuntimeException ] No request given. ConfigurationManager has not been initialized properly. 

For more information about this problem/topic: https://forge.typo3.org/issues/105554 https://forge.typo3.org/issues/105616

统计信息

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

GitHub 信息

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

其他信息

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