robincsamuel / laravel-msg91

Package for MSG91 sms API
MIT License
8 stars 12 forks source link

Adding Guzzle verify option into the constructor #16

Closed devduttabain closed 3 years ago

devduttabain commented 3 years ago

Adding Guzzle verify option into the constructor. In some local environment people get 'cURL error 60: SSL certificate problem'. that can be avoided with this option.

$guzzleVerify = config('laravel-msg91.guzzle_verify', true);
        $this->guzzle = new GuzzleClient(["base_uri" => $base_uri, "verify" => $guzzleVerify]);