PHP code example of atomasevic / mxlogin

1. Go to this page and download the library: Download atomasevic/mxlogin 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/ */

    

atomasevic / mxlogin example snippets


    
    use atomasevic\MXLogin\MXLogin;

    $email = '[email protected]';

    $mxLogin = new MXLogin();
    $loginData = $mxLogin->search($email);

    print_r($loginData);
    Array ( 
        [name] => Gmail 
        [code] => atmx-gmail 
        [loginUrl] => https://mail.google.com 
    )