PHP code example of shell / ev-recharge-sdk

1. Go to this page and download the library: Download shell/ev-recharge-sdk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

shell / ev-recharge-sdk example snippets


composer 

"    "shell/ev-recharge-sdk": "1.2.0"
}

$client = ShellEVClientBuilder::init()
    ->clientCredentialsAuthCredentials(
        ClientCredentialsAuthCredentialsBuilder::init(
            'OAuthClientId',
            'OAuthClientSecret'
        )
    )
    ->environment('production')
    ->build();