Update single composer package
25 May 2022 (Updated 25 May 2022)
composer update <package-name>
This will update the given package and respect the version constraint specified in composer.json
.
For example, if you had:
"wpackagist-plugin/custom-post-type-ui": "^1.11"
Composer will update to the latest minor and patch version (1.x.x).
If you had:
"wpackagist-plugin/custom-post-type-ui": "1.11.*"
Composer will update to the latest patch version.
Sources
Tagged:
PHP tooling
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment