How to quickly find most recent versions for a package?

Posted 4 years ago by BenSmith

What is the quickest way that you know, to find the most recently released version of a package? I know that I could go to Packagist and search for the package and it would probably take less than 10 seconds but I do this so often that if there is a better way, I would like to know!

My ideal solution would be something built into composer such that when I do for example:

 composer require phpspec/phpspec

Then as well as asking me for the version constraints, it would also show the 3 most recently tagged releases, so for this example it would show:

Please provide a version constraint for the phpspec/phpspec requirement (Most Recent: “2.1.*@dev" | 2.1.0-RC1 | 2.0.1)

This would save me a few seconds every time I had to add a package. Is there a solution already out there that I don’t know about?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.