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

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

michelmelo/laravel-gantt
========================

Laravel package to display items within a Gantt Chart.

1.0.2(2y ago)016MITPHP

Since Jul 20Pushed 2y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Laravel Gantt Chart
===================

[](#laravel-gantt-chart)

Installation
------------

[](#installation)

Require this package with composer:

```
composer require michelmelo/laravel-gantt
```

After updating composer, add the ServiceProvider to the providers array in config/app.php

```
MichelMelo\LaravelGantt\GanttServiceProvider::class,
```

Copy the package css file to your local css with the publish command:

```
php artisan vendor:publish --tag="gantt"
```

Usage
-----

[](#usage)

The model to display in the Gantt Chart will need to have properties of `label`, `start` and `end` at minimum.

- `label` is the string to display for the item
- `start` is a date or datetime (will need to pass this as a YYYY-MM-DD format)
- `end` is a date or datetime (will need to pass this as a YYYY-MM-DD format)

```
/**
 *  You'll pass data as an array in this format:
    $test_array = [
                      [
                        'label' => 'The item title',
                          'date' => [
                             [
                                 'start' => '2016-10-08',
                                 'end'   => '2016-10-14',
                                 'class' => '',
                             ],
                             [
                                 'start' => '2016-10-16',
                                 'end'   => '2016-10-19',
                                 'class' => '',
                             ]
                         ]

                     ]
                 ];
 */

$gantt = new MichelMelo\LaravelGantt\Gantt($test_array, array(
    'title'      => 'Demo',
    'cellwidth'  => 25,
    'cellheight' => 35
));

return view('gantt')->with([ 'gantt' => $gantt ]);
```

### Display in your view

[](#display-in-your-view)

In your view, add the `gantt.css` file:

```

```

And then output the gantt HTML:

```
{!! $gantt !!}
```

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

757d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d756073dec37ac9abd3c7edd0cf00b94f2d2de0055531eba5472392b1fd4da2?d=identicon)[michelmelo](/maintainers/michelmelo)

---

Top Contributors

[![michelmelo](https://avatars.githubusercontent.com/u/159223?v=4)](https://github.com/michelmelo "michelmelo (6 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[alfallouji/php_multithread

iPHP library to handle multi-threading

3231.0k](/packages/alfallouji-php-multithread)[heimrichhannot/contao-encore-bundle

This bundle brings deep integration for symfony encore into contao. On the one hand, your can prepare your bundles to define own webpack entries, which added with just one command to your webpack entries. On the other hand, this bundle allows you to add encore entries only on the pages you need them for optimizing your website performance.

1016.8k](/packages/heimrichhannot-contao-encore-bundle)

PHPackages © 2026

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