Add TalendClientBundle to your composer.json, then update
{
...
"require": {
"lafourchette/talend-client-bundle": "*"
},
...
}Add LaFourchetteTalendClientBundle to your application kernel
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new TalendClientBundle(),
// ...
);
}Update your configuration
# app/config/parameters.yml
parameters:
# Talend Client API
talend_client.base_url: "http://talend-url:8080/org.talend.administrator/metaServlet"
talend_client.login: "lab@lafourchette.com"
talend_client.password: "lafourchette"$client = $container('talend_client');
// List all the tasks
$client->listTasks();
// run the task with a task id
$client->runTask(17);This bundle is under the MIT license.

