Make all your composer's dependencies stable.
This command is useful especially during an audit. It allows you to grab latest versions of your dependencies.
Once your audit is finished it's recommended to use another command : Freeze Versions to keep the versions you have tested.
Your dependencies into composer.json will be automatically be changed from "wpackagist-plugin/wordpress-seo":"6.2"
to "wpackagist-plugin/wordpress-seo":"*@stable"
.
1 - Add to Composer
-
From Packagist
- Do
composer require maximeculea/composer-stable-versions
- Do
-
From Github
- Add into your composer json
{ "type": "vcs", "url": "https://github.com/MaximeCulea/Composer-Stable-Versions" }
- Include
"maximeculea/composer-stable-versions": "dev-master"
in your composer file as require - Before use, launch
composer update
- Add into your composer json
Then you can simply launch composer versions-make-stable
!
Composer Stable Versions is licensed under the GPL3+.