public static function cleanPackageName($name)
    {
        if (preg_match('/^[a-z]+\-asset\//', $name, $matches)) {
            $name = substr($name, \strlen($matches[0]));
        }

        return $name;
    }
public static function cleanPackageName($name)
    {
        if (preg_match('/^[a-z]+\-asset\//', $name, $matches)) {
            $name = substr($name, \strlen($matches[0]));
        }

        return $name;
    }
public static function cleanPackageName ( $ name ) { if ( preg_match ( '/^[a-z]+\-asset\//' , $ name , $ matches ) ) { $ name = substr ( $ name , \ strlen ( $ matches [ 0 ] ) ) ; } return $ name ; }
Cleans the package name, removing the Composer prefix if present.

@param string $name

@return string
Cleans the package name removing the Composer prefix if present .