You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's kinda hard because it is partly intertwined with composer specific code. It's not impossible of course, but not sure how useful it is all in a non-composer context compared to just using version_compare. And for the composer context you can already use composer/composer as a lib.
So I'm not against it per se but just wondering if it's worth the time.
I had looked for a way to parse a composer constraint and check whether it
satisfies a given version, i.e. given the constraint ">=5.4", I'd like to
check whether it would be satisfied by "5.4" or "5.5" etc.
Ideally, one could re-use composer's own parsing/comparison routines and I
guess this is already possible with using composer/composer as a dependency
as @Seldaek suggested. Having a small library would be nice though.
Version parsing & comparison seems very useful outside of composer. It would be cool to have the related classes in a small, dedicated library.
The text was updated successfully, but these errors were encountered: