druid628 / exacttarget-bundle
Component library for ExactTarget API
Installs: 5 292
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 2
Open Issues: 3
Requires
- php: >=5.3.5
- druid628/exacttarget: >=1.0.5
This package is not auto-updated.
Last update: 2024-11-19 01:43:35 UTC
README
Symfony bundle for Exact Target library
Installation
Composer:
Add exacttarget-bundle to composer.json
{
"require": {
"druid628/exacttarget-bundle": "1.0.1"
}
}
php composer.phar install
AppKernel
Add ExactTargetBundle to the app/AppKernel.php file.
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:
exact_target:
credentials:
username: 'yourUsername'
password: 'yourPassword'
server: 's4'
Usage
From any where the ServiceContainer is available you can execute:
$etClient = $container->get('exacttarget');
This will return you an instance of \druid628\exactTarget\EtClient (more info)
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
- Micah Breedlove - https://github.com/druid628 - @druid628
- René Kerner - https://github.com/rk3rn3r