PHPackages                             spaceboy/google-charts - 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. spaceboy/google-charts

ActiveLibrary

spaceboy/google-charts
======================

Google charts easily in PHP/Nette templates (latte)

0.2.2(8y ago)022MITPHPPHP &gt;= 5.3

Since Jan 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/spaceboy/GoogleChart)[ Packagist](https://packagist.org/packages/spaceboy/google-charts)[ RSS](/packages/spaceboy-google-charts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

GoogleChart
===========

[](#googlechart)

GoogleCharts for Nette PHP framework

### Installation:

[](#installation)

Type

```
composer require spaceboy/google-charts

```

and that's all.

### Using:

[](#using)

In presenter:

```
$this->template->chart = PieChart('chart-id')
  ->setValues([
    ['foo', 100],
    ['bar', 200],
    ['baz', 300],
  ])
  ->setPieHole(0.2)
  ->setTitle('My First Chart');

```

In template:

```
{!$chart->insertApi()}
{* inserts API, required once for HTML document *}

{!$chart->insertChart()}
{* inserts DIV with GoogleChart; required once for each chart *}

```

### Implemented chart types:

[](#implemented-chart-types)

- BarChart
- BubbleChart
- ColumnChart
- ComboChart
- DonutChart
- GeoChart
- PieChart

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

5

Last Release

3115d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09d6444dda5f70a00423d2d049409f3670a49c0c2d008add06820d45c4f680e6?d=identicon)[spaceboy](/maintainers/spaceboy)

---

Top Contributors

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

---

Tags

googlenettechartslattespaceboy

### Embed Badge

![Health badge](/badges/spaceboy-google-charts/health.svg)

```
[![Health](https://phpackages.com/badges/spaceboy-google-charts/health.svg)](https://phpackages.com/packages/spaceboy-google-charts)
```

###  Alternatives

[tomaj/nette-api

Nette api

36261.8k4](/packages/tomaj-nette-api)[nepada/form-renderer

Latte template based form renderer for Nette forms with full support for Bootstrap 3, 4 &amp; 5.

11251.0k](/packages/nepada-form-renderer)[contributte/latte

Extra contrib to nette/latte

111.5M2](/packages/contributte-latte)[pavlista/nette-palette

Palette support for Nette Framework and Latte template engine

1657.4k](/packages/pavlista-nette-palette)[kollarovic/thumbnail

Generating image thumbnails

1035.5k2](/packages/kollarovic-thumbnail)

PHPackages © 2026

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