I have a project with several outdated dependencies.
One of the dependencies is just listed up in composer.lock
I removed every package from composer.json with
composer remove <package>
but the package is still listed in composer.lock. So it seems that this is an orphan package.
If use
composer depends <package>
it returns "could not find package"
- Is it safe to remove the package?
- Is there a command to check for orphan packages?