public static function findComposerAutoloaderVendorDir(string $composer_loader_class)
    {
        $ref = new \ReflectionClass($composer_loader_class);

        // Composer is located at MyProject/vendor/composer
        $path = dirname($ref->getFileName());
        return dirname($path);
    }