private function getPackageFromConfig($name)
    {
        //Check if package name is a composer package name
        if (str_contains($name, '/')) {
            return $this->config->get($this->getPackageNameByComposerName($name));
        }

        return $this->config->get($name);
    }
private function getPackageFromConfig($name)
    {
        //Check if package name is a composer package name
        if (str_contains($name, '/')) {
            return $this->config->get($this->getPackageNameByComposerName($name));
        }

        return $this->config->get($name);
    }
private function getPackageFromConfig ( $ name ) { //Check if package name is a composer package name if ( str_contains ( $ name , '/' ) ) { return $ this -> config -> get ( $ this -> getPackageNameByComposerName ( $ name ) ) ; } return $ this -> config -> get ( $ name ) ; }
get package from config.

@param $name

@return array
get package from config .