PHP code example of djamadeus / mailchimp-bundle2

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

    

djamadeus / mailchimp-bundle2 example snippets


// example action in a controller

public function exampleAction()
{
    $client = $this->get('wunderdata_mailchimp.client');
}

// example action in a controller

public function exampleAction()
{
    $client = $this->get('wunderdata_mailchimp.export_client');
}