Skip to content

Confusion about composer outdated --direct not showing any output for an outdated package #10711

Answered by stof
mfn asked this question in Q&A / Support
Discussion options

You must be logged in to vote

Well, in your case, the only direct dependency you have is laravel/framework. And the non-filtered composer outdated does not show laravel/framework as an outdated package, which is why --direct does not show anything.

Bt default composer outdated takes the platform into account (not reporting a package as outdated if the newer version is incompatible with your platform). Maybe that's the reason why Laravel 9 is not suggested to you. There is a --ignore-platform-reqs option to disable that filtering.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mfn
Comment options

@sovainfo
Comment options

Answer selected by mfn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants