PHP code example of astrogoat / mailchimp

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

    

astrogoat / mailchimp example snippets


$mailchimp = resolve(\Astrogoat\Mailchimp\Mailchimp::class);
$mailchimp->ping->get();

// {
//   "health_status": "Everything's Chimpy!"
// }