public function packages($vendors)
    {
        $packages = [];

        foreach ((array) $vendors as $vendor) {
            if (strpos($vendor, '/') !== false) {
                $packages[] = $this->packagist->get($vendor);
            } else {
                foreach ($this->packagist->all(compact('vendor')) as $result) {
                    $packages[] = $this->packagist->get($result);
                }
            }
        }

        return $packages;
    }