PHP code example of mailxpert / oauth2-mailxpert
1. Go to this page and download the library: Download mailxpert/oauth2-mailxpert 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/ */
mailxpert / oauth2-mailxpert example snippets
$provider = new Mailxpert\OAuth2\Client\Provider\Mailxpert([
'clientId' => '{mailxpert-client-id}',
'clientSecret' => '{mailxpert-client-secret}',
'redirectUri' => 'https://example.com/redirect-url'
]);