PHPackages                             dcodegroup/gantt - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dcodegroup/gantt

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dcodegroup/gantt
================

Gantt Chart

v1.0.6(8y ago)08.0k↑464.3%mitPHP

Since Apr 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/dcodegroup/gantt)[ Packagist](https://packagist.org/packages/dcodegroup/gantt)[ RSS](/packages/dcodegroup-gantt/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (7)Used By (0)

gantt
=====

[](#gantt)

Gantt chart

`composer.json`

```
    "autoload": {
        ...
        "psr-4": {
            ...,
            "DcodeGroup\\": "vendor/dcodegroup/"
        }
    },

```

instantiate
-----------

[](#instantiate)

```
$groupedCols = \DcodeGroup\Gantt\DatesHelper::ganttColGroups(
    ($_GET['start'] ?? time()),
    ($_GET['end'] ?? null)
);
$gantt = \DcodeGroup\Gantt\Factory::newGantt($groupedCols, $rows, ['isMobile' => $agent->isMobile()]);
```

Config
------

[](#config)

```
# custom bar text
$gantt->barTextFunction = function(\DcodeGroup\Gantt\Bar $bar) {
    return date('j M Y', strtotime($bar->start_date)) . ' - ' . date('j M Y', strtotime($bar->end_date));
};

# disable bar text
$gantt->barTitleAttrs = false;
$gantt->barTextShow = false;
```

if you disable barTitleAttrs, the bar will have a data-text atrribute instead

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

6

Last Release

3000d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0e8e7e3202508183e3ba9f9a95abcffdab114ce86e33e52a67abd58194d3d86?d=identicon)[dcodegroup](/maintainers/dcodegroup)

---

Top Contributors

[![gpor](https://avatars.githubusercontent.com/u/7456625?v=4)](https://github.com/gpor "gpor (23 commits)")

### Embed Badge

![Health badge](/badges/dcodegroup-gantt/health.svg)

```
[![Health](https://phpackages.com/badges/dcodegroup-gantt/health.svg)](https://phpackages.com/packages/dcodegroup-gantt)
```

###  Alternatives

[structurizr-php/structurizr-php

Structurizr for PHP

171137.7k](/packages/structurizr-php-structurizr-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
