ExactTargetBundle
Symfony bundle for Exact Target library, (*1)
Installation
Composer:
Add exacttarget-bundle to composer.json, (*2)
{
"require": {
"druid628/exacttarget-bundle": "1.0.1"
}
}
php composer.phar install
AppKernel
Add ExactTargetBundle to the app/AppKernel.php file., (*3)
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new Druid628\ExactTarget\ExactTargetBundle\ExactTargetBundle(),
)
}
}
Configuration
In your app/config/config.yml add the following entries with your correct information:, (*4)
exact_target:
credentials:
username: 'yourUsername'
password: 'yourPassword'
server: 's4'
Usage
From any where the ServiceContainer is available you can execute:, (*5)
$etClient = $container->get('exacttarget');
This will return you an instance of \druid628\exactTarget\EtClient (more info), (*6)
CHANGELOG
- v1.0.0 - DO NOT USE - Initial Commit Contained Namespace issues
- v1.1.0 - Added simple documentation (@druid628) and Corrected Namespace issues (@rk3rn3r)
Contributors