maximeculea/composer-freeze-versions

Freeze versions of your composer's dependencies.

Installs: 4 601

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:composer-plugin

1.0.4 2022-07-24 13:34 UTC

This package is auto-updated.

Last update: 2024-04-24 17:37:18 UTC


README

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+.