PHPackages                             gsferro/chartsexcell - 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. gsferro/chartsexcell

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

gsferro/chartsexcell
====================

Facade para criar facilmente charts utilizando o pacote Laravel Excell

v1.3(5y ago)093PHP

Since Jun 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/GuilhermeFerro/laravel-chartsexcell)[ Packagist](https://packagist.org/packages/gsferro/chartsexcell)[ RSS](/packages/gsferro-chartsexcell/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

Laravel ChartsExcell
====================

[](#laravel-chartsexcell)

Um pacote para simplificar a criação de gráficos dentro do excell utilizando o pacote `laravel-excell`, visto que nem a propria documentação do pacote fala sobre a implementação de gráficos e tão pouco encontrasse formas de implementar na internet.

### Instalação

[](#instalação)

```
composer require gsferro/chartsexcell

```

### Dependências

[](#dependências)

```
maatwebsite/excel": "^3.1

```

### coloque no arquivo app.php:

[](#coloque-no-arquivo-appphp)

- providers

```
Maatwebsite\Excel\ExcelServiceProvider::class,

```

- aliases

```
'Excel' => Maatwebsite\Excel\Facades\Excel::class,

```

### Uso

[](#uso)

- Para iniciarlizar:

```
$createChart = chartsexcell();
```

#### Paramentros gerais:

[](#paramentros-gerais)

- Layout

```
/**
 * Possibilidade de mudar o layout do gráfico
 *
 * @param Layout $layout
 * @return ChartsExcell
 */
 ->setLayout(Layout $layout) // default: null
```

- porcentagem show

    > `->setLayout((new Layout())->setShowPercent(true))`
- valores show

    > `->setLayout((new Layout())->setShowVal(true))`
- Legend

```
/**
 * Possibilidade de mudar a Legend
 *
 * @param Legend $legend
 * @return ChartsExcell
 */
->setLegend(Legend $legend = null) // default: new Legend('r')
```

- sem legenda

> `->setLegend(null)`

- legenda RIGHT

> `->setLegend((new Legend('r'))`

- legenda LEFT

> `->setLegend((new Legend('l'))`

- legenda BOTTOM

> `->setLegend((new Legend('b'))`

- legenda TOP

> `->setLegend((new Legend('t'))`

- legenda TOPRIGHT

> `->setLegend((new Legend('tr'))`

- Informações Gerais

```
/**
 * Cabelhaço do excell
 * Adicionar +1 no $index para buscar os valores
 *
 * @param int $linesHeader
 * @return ChartsExcell
 */
->setLinesHeader(int $linesHeader) // default 1
```

```
/**
 * Posição para começar a busca pelos dados
 *
 * @param int $index
 * @return ChartsExcell
 */
->setIndex(int $index) // default 2
```

```
/**
 * Titulo da aba - (Não pode ter espaços)
 *
 * @param string $titleSheet
 * @return ChartsExcell
 */
->setTitleSheet(string $titleSheet) // default: "Worksheet"
```

```
/**
 * Tipo do chart via DataSeries const
 *
 * @param string $typeChart DataSeries::TYPE_PIECHART / pieChart
 * @return ChartsExcell
 */
->setTypeChart(string $typeChart) // default: DataSeries::TYPE_PIECHART / pieChart
```

#### Dados do Gráfico

[](#dados-do-gráfico)

```
/**
 * Monta o grafico
 *
 * @param string $title       "Titulo do gráfico"
 * @param int $countLines     "Qtde linhas de registro"
 * @param string $columnLabel "Letra da Coluna para os labels do chart"
 * @param string $columnValue "Letra da Coluna para os valores do chart"
 *
 * @return Chart
 */
->chart(string $title, int $countLines, string $columnLabel, string $columnValue) : Chart
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~69 days

Total

4

Last Release

1991d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9857d9f527903d58285b8afd4c9cc5d4150041a5951ba5b84c399d0e579b0255?d=identicon)[gsferro](/maintainers/gsferro)

---

Top Contributors

[![gsferro](https://avatars.githubusercontent.com/u/12704346?v=4)](https://github.com/gsferro "gsferro (17 commits)")

### Embed Badge

![Health badge](/badges/gsferro-chartsexcell/health.svg)

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.4k](/packages/typicms-base)[arm092/livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS

3059.5k](/packages/arm092-livewire-datatables)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k30](/packages/ronasit-laravel-helpers)[tapp/filament-form-builder

User facing form builder using Filament components

132.4k3](/packages/tapp-filament-form-builder)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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