sbuerk/typo3-composer-tools 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

sbuerk/typo3-composer-tools

Composer 安装命令:

composer require sbuerk/typo3-composer-tools

包简介

Composer plugin providing helpful commands around TYPO3 projects, starting with typo3:version.

README 文档

README

# sbuerk/typo3-composer-tools

CI Latest Stable Version PHP Version License

TYPO3 Composer Tools – a Composer plugin that adds a small set of helpful commands to any project it is installed in. The first command, typo3:version, reports the installed typo3/cms-core version in a plain, script-friendly form.

Requirements

  • PHP 8.2, 8.3, 8.4 or 8.5
  • Composer 2.9+ (composer-plugin-api: ^2.9)

Installation

composer require sbuerk/typo3-composer-tools

The package is a composer-plugin; once required it registers its commands automatically and they become available through the composer binary.

Usage

typo3:version

Print the currently installed typo3/cms-core version. Prints an empty string when TYPO3 is not installed:

$ composer typo3:version
13.4.21

--extended

Print the version broken down into its parts together with the applied constraint and installation state:

$ composer typo3:version --extended
Current: 13.4.21
Major: 13
Minor: 4
Patchlevel: 21
Constraint: ^13.4.20 || ^14.3.2
Installed: true

--json

Print a single, always-complete JSON document — pipeable straight into tools like jq:

$ composer typo3:version --json
{"current":"13.4.21","major":13,"minor":4,"patchlevel":21,"constraint":"^13.4.20 || ^14.3.2","installed":true}

When TYPO3 is not installed, current, major, minor and patchlevel are null and installed is false:

$ composer typo3:version --json
{"current":null,"major":null,"minor":null,"patchlevel":null,"constraint":null,"installed":false}

Only the requested output is written to stdout, so the result can be consumed by other tools without noise.

Contributing

Contributions are welcome — please read CONTRIBUTING.md.

License

Released under the GNU General Public License v2.0 or later.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固