src/Request.php
public function put($url, array $data = [], array $headers = [])
    {
        $this->unsetOptions([CURLOPT_HTTPGET, CURLOPT_POST]);

        $this->setOption(CURLOPT_CUSTOMREQUEST, 'PUT');

        return $this->send($url, $data, $headers);
    }
public function put($url, array $data = [], array $headers = [])
    {
        $this->unsetOptions([CURLOPT_HTTPGET, CURLOPT_POST]);

        $this->setOption(CURLOPT_CUSTOMREQUEST, 'PUT');

        return $this->send($url, $data, $headers);
    }
public function put ( $ url , array $ data = [ ] , array $ headers = [ ] ) { $ this -> unsetOptions ( [ CURLOPT_HTTPGET , CURLOPT_POST ] ) ; $ this -> setOption ( CURLOPT_CUSTOMREQUEST , 'PUT' ) ; return $ this -> send ( $ url , $ data , $ headers ) ; }
Send PUT request

@param string $url
@param array $data
@param array $headers

@return Response
Send PUT request