public function guessExtensionPath(string $path): string
    {
        $path = \str_replace('orchestra.json', '', $path);
        $app = \rtrim($this->config['path.app'], '/');
        $base = \rtrim($this->config['path.base'], '/');

        return \str_replace(
            ["{$app}/", "{$base}/vendor/", "{$base}/"],
            ['app::', 'vendor::', 'base::'],
            $path
        );
    }