Vincent's blog

Outdated dependencies

I frequently review project dependencies to ensure they are up-to-date. For PHP projects, Composer has a command specifically designed for this purpose: --direct. This flag ensures that only the necessary dependencies are checked.

composer outdated --direct

Prior to transitioning to pnpm, I employed the npm-check-updates package. Now, I utilize pnpm's outdated command.

pnpm outdated

#composer #pnpm