fgalvao/version-test
Composer 安装命令:
composer require fgalvao/version-test
包简介
Just a dummy project to test composer version
README 文档
README
Just a simple dummy project that doesn't do anything but allows you to test the ways to require a package using tags versions, constraints and stabilities
Installation
Use composer to download the project in you project
composer require --dev fgalvao/version-test
or in your composer.json
"require-dev" : { "fgalvao/version-test" : xxxx }
##Docs
Not sure how, check out the composer version documentation https://getcomposer.org/doc/articles/versions.md
Don't want to install this package in you local, test on-line here semver.mwl.be
Usage/Examples
Just change the version you want to download in you composer.json
{
"prefer-stable": true|false,
"minimum-stability": "dev|alpha|beta|rc|stable",
"require-dev": {
"fgalvao/version-test" : "1.1", OR
"fgalvao/version-test" : "^1.1@beta", OR
"fgalvao/version-test" : "^1.1@rc"
}
}
and check the version on you console
composer show | grep fgalvao/version-test
you can see all the available versions using:
composer show -a fgalvao/version-test
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-06