PHPackages                             gpor/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. gpor/gantt

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

gpor/gantt
==========

Simple Gantt chart

12161PHP

Since Apr 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gpor/gantt)[ Packagist](https://packagist.org/packages/gpor/gantt)[ RSS](/packages/gpor-gantt/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

gantt
=====

[](#gantt)

Simple Gantt chart

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

[](#instantiate)

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

Config
------

[](#config)

```
# custom bar text
$gantt->barTextFunction = function(\Gpor\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

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7456625?v=4)[Lee](/maintainers/gpor)[@gpor](https://github.com/gpor)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[setono/cron-expression-bundle

Symfony bundle that integrates dragonmantank/cron-expression

25207.6k3](/packages/setono-cron-expression-bundle)[0.0.0/composer-include-files

Include files at a higher priority than autoload files. Useful for overriding Laravel helpers.

14453.3k10](/packages/000-composer-include-files)[leek/filament-header-filters

Inline header filter components for Filament tables — attach any BaseFilter to a column header.

156.1k](/packages/leek-filament-header-filters)

PHPackages © 2026

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