sajad torkamani
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

Leave a comment

Your email address will not be published. Required fields are marked *