Minimum Stability

The PHP Package Manager Composer has a very cool Feature, called minimum-stability.  That defines the minimun stability for wildcard versions. Let’s say you define this in your composer.json file:

"symfony/finder" : "2.2.*"

By default the minimum stability is “stable”. That means the package manager will look for the newest version in the “2.2.” branch, which is stable. If you want to have the newest dev version you can redefine the minimum stability for this package:

"symfony/finder" : "2.2.*@dev"

In that case you would get the newest development & unstable version from the “2.2.” branch. Possible stability tags are “@dev”, “@RC”, “@stable”, “@beta” and “@alpha”.



VersionEye does now understand the minimum stability tags from composer and can handle it. But it’s an early implementation. Your Feedback is welcome!

Published by Robert Reiz

CEO @ VersionEye. Passionated software developer since 1998.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: