sbuerk/extended-path-repository
Composer 安装命令:
composer require sbuerk/extended-path-repository
包简介
Composer plugin that extends the built-in path repository with additional version metadata detection and tolerant (non-failing) path matching.
README 文档
README
A Composer plugin that extends the built-in
path repository with:
- Extended version detection – derive a path package's version from its
composer.jsonversion, fromextra."typo3/cms".version, or from a siblingVERSIONfile, before falling back to Composer's stock determination. - Tolerant path matching – a configured
urlthat matches nothing (a missing directory or an empty glob) is silently ignored instead of aborting the whole Composer run.
The plugin keeps the exact same configuration syntax as the stock path
repository ("type": "path"); once installed it transparently upgrades every
path repository in your project.
{
"repositories": [
{ "type": "path", "url": "packages/*" }
]
}
Installation
composer require sbuerk/extended-path-repository
Important
Because Composer instantiates repositories before plugins are activated, the
plugin must already be installed for its behaviour to apply. Install it first,
then add your (extended / tolerant) path repositories – see
docs/installation.md and
docs/limitations.md.
Requirements
- PHP 8.2+
- Composer 2.9+ (
composer-plugin-api: ^2.9)
Documentation
Short overview here – details live in docs/:
- Installation
- Configuration & usage
- Version detection
- How it works (architecture)
- Limitations
- Development & testing
Contributing
Contributions are welcome – please read CONTRIBUTING.md.
License
Released under the GNU General Public License v2.0 or later.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-06-25