Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Guzzle verify option into the constructor #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 19, 2020

  1. Adding Guzzle verify option into the constructor

    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]);
    ```
    
    And to the config file...
    ```
    	/* Guzzle Verify, if false there'll be no ssl checking (optional) */
    	'guzzle_verify' => env('MSG91_GUZZLE_VERIFY', true),
    ```
    devduttabain committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    6ec5ff9 View commit details
    Browse the repository at this point in the history