public function search()
    {
        $url = self::PACKAGIST_URL.'search.json?q='.$this->getPackageName();

        $response = $this->client
                         ->get($url)
                         ->getBody()
                         ->getContents();

        $this->rawPackages = collect(json_decode($response, true));

        return collect($this->rawPackages->get('results'));
    }