PHP code example of appventus / taiga-bundle
1. Go to this page and download the library: Download appventus/taiga-bundle 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/ */
appventus / taiga-bundle example snippets
$projects = $taiga->projects->getList([
'member' => $taiga->users->getMe()->id
]);
$sprints[$project->name] = $taiga->milestones->getList(
['project' => $project->id]
);
$userStories = $taiga->userStories->getList(
['milestone' => $sprint->id]
);
foreach ($projects as $project) {
$project->stats = $taiga->projects->getProjectIssueStats($project->id);
}