classes/Builder.php
static function getVendorDir( $vendorPrefix = 'vendor' )
    {
        if( is_dir( __DIR__ . '/../../../composer' ) && is_file( __DIR__ . '/../../../autoload.php' ) )
        {
            return realpath( __DIR__ . '/../../..' );
        }
        if( is_dir( __DIR__ . "/../$vendorPrefix/composer" ) && is_file( __DIR__ . "/../$vendorPrefix/autoload.php" ) )
        {
            return realpath( __DIR__ . "/../$vendorPrefix" );
        }
        return false;
    }
static function getVendorDir( $vendorPrefix = 'vendor' )
    {
        if( is_dir( __DIR__ . '/../../../composer' ) && is_file( __DIR__ . '/../../../autoload.php' ) )
        {
            return realpath( __DIR__ . '/../../..' );
        }
        if( is_dir( __DIR__ . "/../$vendorPrefix/composer" ) && is_file( __DIR__ . "/../$vendorPrefix/autoload.php" ) )
        {
            return realpath( __DIR__ . "/../$vendorPrefix" );
        }
        return false;
    }
Tries to find out the vendor dir of composer - should work both when ezextbuilder is main project and when it is
a dependency. Returns FALSE if not found

@param string $vendorPrefix
@return string