private function getPackageNameByComposerName($composerPackageName)
    {
        foreach ($this->config->all() as $key => $configItem) {
            if ($configItem['name'] == $composerPackageName) {
                return $key;
            }
        }
    }
private function getPackageNameByComposerName($composerPackageName)
    {
        foreach ($this->config->all() as $key => $configItem) {
            if ($configItem['name'] == $composerPackageName) {
                return $key;
            }
        }
    }
private function getPackageNameByComposerName ( $ composerPackageName ) { foreach ( $ this -> config -> all ( ) as $ key => $ configItem ) { if ( $ configItem [ 'name' ] == $ composerPackageName ) { return $ key ; } } }
Get package name by composer package name.

@param $composerPackageName

@return string
Get package name by composer package name .