public function search($query, array $filters = [], $path = '/search.json')
	{
		$filters['q'] = $query;
		$url = $this->getUrl() . $path . '?' . http_build_query($filters);

		$this->_response = new Response(['json' => $this->request($url)]);
		return $this;
	}
public function search($query, array $filters = [], $path = '/search.json')
	{
		$filters['q'] = $query;
		$url = $this->getUrl() . $path . '?' . http_build_query($filters);

		$this->_response = new Response(['json' => $this->request($url)]);
		return $this;
	}
public function search ( $ query , array $ filters = [ ] , $ path = '/search.json' ) { $ filters [ 'q' ] = $ query ; $ url = $ this -> getUrl ( ) . $ path . '?' . http_build_query ( $ filters ) ; $ this -> _response = new Response ( [ 'json' => $ this -> request ( $ url ) ] ) ; return $ this ; }
Searches for packages on the packagist.org repository
@param string $query the query to search
@param array $filters the filters to apply on the search
@param string $path the url path to make the api call
@return $this
Searches for packages on the packagist . org repository