src/SmsGatewayClient.php
public function send(array $params)
    {
        $base = [
            'device' => $this->device,
            'email' => $this->email,
            'password' => $this->password,
        ];

        $params = array_merge($base, $params);

        $response = $this->http->post('https://smsgateway.me/api/v3/messages/send', [
            'form_params' => $params,
        ]);

        return json_decode($response->getBody(), true);
    }
public function send(array $params)
    {
        $base = [
            'device' => $this->device,
            'email' => $this->email,
            'password' => $this->password,
        ];

        $params = array_merge($base, $params);

        $response = $this->http->post('https://smsgateway.me/api/v3/messages/send', [
            'form_params' => $params,
        ]);

        return json_decode($response->getBody(), true);
    }
@param array $params

@return array