You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

TYPO3 9.2能否使用Extension Builder?是否需手动创建扩展?

Hey Chris, great question—let's walk through your options clearly since dealing with outdated TYPO3 tooling can be frustrating!

TYPO3 9.2+ & Extension Builder: Your Options

You’re absolutely right about the old extension_builder from TER: it only supports up to TYPO3 7.6, and the Call to undefined method...extRelPath() error is a known, unfixed issue (as noted in #81678). But the good news is you don’t have to build everything from scratch. Here are your best paths forward:

1. Use the Official Updated Extension Builder

The Extension Builder project was moved to TYPO3’s official repository and updated to support TYPO3 9.x and later versions. You can install it via Composer (the recommended way for modern TYPO3 setups):

composer require typo3/cms-extension-builder

This version fixes the outdated extRelPath() dependency and works just like the old TER version—you’ll get the same visual interface in the TYPO3 backend to create and configure Extbase extensions from scratch.

2. Manual Extension Skeleton Creation (If You Prefer)

If you’d rather skip the tool or have special needs, manual setup isn’t as daunting as it sounds:

  • Start by creating your extension folder in typo3conf/ext/ (stick to lowercase, hyphen/underscore names like my_custom_extension)
  • Copy the core config files (ext_emconf.php, ext_localconf.php) from a well-maintained extension or use official TYPO3 templates to fill them out
  • Follow Extbase’s namespace structure for Classes: Classes/Domain/Model/, Classes/Controller/, Classes/ViewHelpers/, etc.—TYPO3 will auto-detect these once the extension is activated
  • Use TYPO3’s command-line tool to generate a basic skeleton quickly:
typo3cms extension:make my_custom_extension

This command handles creating the core files and folder structure so you don’t have to do it one by one.

3. Community Third-Party Tools

A few community-built scaffolding tools exist for TYPO3 extensions, mostly Composer-based. Just double-check their compatibility with TYPO3 9.2 before using—they’re less widely supported than the official Extension Builder, but can work for specific use cases.

Final Takeaway

The official updated Extension Builder is your best bet—it’s fully supported, fixes the old bugs, and lets you keep using the visual workflow you’re familiar with. Manual setup is totally doable too, but it’s no longer the only "normal" approach.

内容的提问来源于stack exchange,提问作者SineMatha

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.28 07:13:16