diff --git a/src/Composer/Command/InstallCommand.php b/src/Composer/Command/InstallCommand.php index 4a7a23cbe..a3e92f2f5 100644 --- a/src/Composer/Command/InstallCommand.php +++ b/src/Composer/Command/InstallCommand.php @@ -41,7 +41,7 @@ class InstallCommand // TODO this should use the transaction returned by the solver foreach ($config['require'] as $name => $version) { foreach ($packages as $pkg) { - if ($pkg->getName() === $name) { + if (strtolower($pkg->getName()) === strtolower($name)) { $package = $pkg; break; }