diff --git a/src/Installer.php b/src/Installer.php
index 9caf9325af49b9d94e8aefeb266eb23968ed9709..a489c128f520d2dc18e2f35aa6ddbb4c210ebeb4 100644
--- a/src/Installer.php
+++ b/src/Installer.php
@@ -16,7 +16,7 @@ use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards;
 
 class Installer extends LibraryInstaller
 {
-    const TYPE = 'php-codesniffer-standards';
+    const TYPE = 'phpcodesniffer-standard';
 
     /**
      * Initializes library installer.
@@ -224,4 +224,16 @@ class Installer extends LibraryInstaller
     {
         return $this->getInstallPath($this->getPHPCodeSnifferPackage($repo));
     }
+
+    /**
+     * {@inheritDoc}
+     */
+    public function supports($packageType)
+    {
+        $secondaryPackageTypes = array('phpcodesniffer-standards');
+        $deprecatedPackageTypes = array('php-codesniffer-standards');
+
+        return parent::supports($packageType)
+            || in_array($packageType, array_merge($secondaryPackageTypes, $deprecatedPackageTypes));
+    }
 }