PHP code example of dcodegroup / gantt
1. Go to this page and download the library: Download dcodegroup/gantt 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/ */
dcodegroup / gantt example snippets
php
$groupedCols = \DcodeGroup\Gantt\DatesHelper::ganttColGroups(
($_GET['start'] ?? time()),
($_GET['end'] ?? null)
);
$gantt = \DcodeGroup\Gantt\Factory::newGantt($groupedCols, $rows, ['isMobile' => $agent->isMobile()]);