ryanshoover/wp-version-control
Composer 安装命令:
composer require ryanshoover/wp-version-control
包简介
Composer plugin to help keep WordPress package versions in sync.
关键字:
README 文档
README
This Composer plugin helps to keep the version of your WordPress packages in sync. It will update the version number in all the files that track the version.
- composer.json version field
- package.json version field
- Plugin primary file
- Theme style.css file
- Theme functions.php file
- Git tag
Installation
Recommended: Global installation
Install the plugin globally so that you can use it on all your projects.
$ composer global require ryanshoover/wp-version-control Changed current directory to /Users/ryan.hoover/.composer ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 2 installs, 0 updates, 0 removals - Installing hassankhan/config - Installing ryanshoover/wp-version-control Writing lock file Generating autoload files
Nuanced: Project-specific installation
Add the plugin to your project's composer.json to enable it for all project collaborators.
$ composer require ryanshoover/wp-version-control ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 2 installs, 0 updates, 0 removals - Installing hassankhan/config - Installing ryanshoover/wp-version-control Writing lock file Generating autoload files
Usage
Once you've commited all changes to your master branch, run the release command from your local terminal. The command will update all your version files, commit those changes, create a new tag with the new version, and push the tag to your git origin remote.
Documentation
Usage: release [options] [--] <segment> Arguments: segment Release level: major|minor|patch Options: --message[=MESSAGE] Git commit and tag message
Example
$ composer release major Git commit and tag message: Creating first major release 📣 Updating version from 0.12.5 to 1.0.0 Processing composer.json package.json not found style.css not found src/sass/style.scss not found plugin.php not found 🎁 Releasing new git tag
ryanshoover/wp-version-control 适用场景与选型建议
ryanshoover/wp-version-control 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 07 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「version」 「wordpress」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ryanshoover/wp-version-control 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ryanshoover/wp-version-control 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ryanshoover/wp-version-control 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Versioning behaviour for eloquent models
Converts SemVer version (like Composer packages) into integer version with operators. Helps managing versions: store, compare, sort and retrive by conditions.
Display a version number
PHP Version Manager for Windows CLI
Obtains the latest version release of Composer Packages from the Packagist API
Version management package for Laravel
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-07-26