Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.37 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.37 KB

Composer Freeze Versions

Freeze versions of your composer's dependencies.

This command is especially useful while making a site live. It allows you to grab latest versions of your composer.lock which you tested you site against.

If you would like to go back to a staging status, use another command : Make Stable to set versions as stable.

What?

Your dependencies into composer.json will be automatically be changed from "wpackagist-plugin/wordpress-seo":"@stable" to "wpackagist-plugin/wordpress-seo":"6.2"

See how it works

How?

1 - Add to Composer

  • From Packagist

    • Do composer require maximeculea/composer-freeze-versions
  • From Github

    • Add into your composer json { "type": "vcs", "url": "https://github.com/MaximeCulea/Composer-Freeze-Versions" }
    • Include "maximeculea/composer-freeze-versions": "dev-master" in your composer file as require
    • Before use, launch composer update

2 - Run command

Then you can simply launch composer versions-freeze!

License

Composer Freeze Versions is licensed under the GPL3+.