Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the time a package was released in composer show command #11737

Closed
javaDeveloperKid opened this issue Nov 29, 2023 · 1 comment · Fixed by #11762
Closed

Add the time a package was released in composer show command #11737

javaDeveloperKid opened this issue Nov 29, 2023 · 1 comment · Fixed by #11762
Labels
Milestone

Comments

@javaDeveloperKid
Copy link

javaDeveloperKid commented Nov 29, 2023

It would be helpful to output the release time next to the package in composer show (or only when running with --outdated option) command to see how old the current packages are. Having this info condensated in the package list would help to draw conclusions whether some packages need upgrade.

I would use the relative time like 1 month ago(or make it configurable via composer.json extra key?) - it better affects humans. I would create a new option to sort desc/asc (from oldest to latest and vice versa) based on release time.

We could also add this info to the output of composer show <package>.

We already have info about release time in composer.lock.

@Seldaek
Copy link
Member

Seldaek commented Dec 19, 2023

See #11762

Seldaek added a commit to Seldaek/composer that referenced this issue Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants
@Seldaek @javaDeveloperKid and others