PHPackages                             atompulse/php-graph - 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. atompulse/php-graph

ActiveLibrary

atompulse/php-graph
===================

PHP Graphing Library that creates graphs natively in PHP

1271PHP

Since Mar 16Pushed 11y agoCompare

[ Source](https://github.com/atompulse/php-graph)[ Packagist](https://packagist.org/packages/atompulse/php-graph)[ RSS](/packages/atompulse-php-graph/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHPGraphLib Graphing Library
============================

[](#phpgraphlib-graphing-library)

### PHPGraphLib is a lightweight PHP-based graphing library that creates slick PHP graphs for incorporation into a website or application.

[](#phpgraphlib-is-a-lightweight-php-based-graphing-library-that-creates-slick-php-graphs-for-incorporation-into-a-website-or-application)

PHPGraphLib has powerful customization features, allowing you to generate the perfect bar, line, stacked bar, or pie graph for any application. Used with dynamic data, PHPGraphLib allows easy visual interpretation of sophisticated data sets. Simply feed PHPGraphLib an array of data points, and it will generate a .png chart of your data dynamically for browser display or saved to your filesystem.

### History

[](#history)

The first version PHPGraphLib was written in 2007 by Elliott Brueggeman to deliver PHP generated graphs quickly and easily to PHP4 applications. It has grown in both features and maturity since its inception. PHPGraphLib now requires PHP5+. Originally available only for paid commercial use, PHPGraphLib was open-sourced in 2013 under the MIT License. Please visit  for more information.

### Documentation

[](#documentation)

Documentation is available at

[](http://www.ebrueggeman.com/phpgraphlib). I'll begin porting over documentation soon where it makes sense.

### Examples

[](#examples)

Within the [Examples](/examples) directory are examples of PHPGraphLib usage. Git clone this repo to a directory on your localhost or server to see these examples in action.

[![PHPGraphLib Graph Example](https://camo.githubusercontent.com/5890c900641c8f3df016e3ff2fadf9ec99cb8e8c9e10c342cc54ab92d7ea8633/687474703a2f2f7777772e65627275656767656d616e2e636f6d2f73697465732f7777772e65627275656767656d616e2e636f6d2f66696c65732f696d616765732f70687067726170686c69625f6578616d706c655f67726170682e706e67)](https://camo.githubusercontent.com/5890c900641c8f3df016e3ff2fadf9ec99cb8e8c9e10c342cc54ab92d7ea8633/687474703a2f2f7777772e65627275656767656d616e2e636f6d2f73697465732f7777772e65627275656767656d616e2e636f6d2f66696c65732f696d616765732f70687067726170686c69625f6578616d706c655f67726170682e706e67)

[![Graph Example](https://camo.githubusercontent.com/6aad8e74323a0599117709ede2aa3b51c1737224d35e22008432d6061c53852b/687474703a2f2f7777772e65627275656767656d616e2e636f6d2f73697465732f7777772e65627275656767656d616e2e636f6d2f66696c65732f696d616765732f616c61736b615f74656d705f67726170682e706e67)](https://camo.githubusercontent.com/6aad8e74323a0599117709ede2aa3b51c1737224d35e22008432d6061c53852b/687474703a2f2f7777772e65627275656767656d616e2e636f6d2f73697465732f7777772e65627275656767656d616e2e636f6d2f66696c65732f696d616765732f616c61736b615f74656d705f67726170682e706e67)

[![Two Dataset Example](https://camo.githubusercontent.com/d69774b69fd3adb251ce8cc96772b7a75194d130adf49e1a2dcfe8a94fd058f0/687474703a2f2f7777772e65627275656767656d616e2e636f6d2f73697465732f7777772e65627275656767656d616e2e636f6d2f66696c65732f696d616765732f636f6d70616e795f70726f64756374696f6e5f67726170682e706e67)](https://camo.githubusercontent.com/d69774b69fd3adb251ce8cc96772b7a75194d130adf49e1a2dcfe8a94fd058f0/687474703a2f2f7777772e65627275656767656d616e2e636f6d2f73697465732f7777772e65627275656767656d616e2e636f6d2f66696c65732f696d616765732f636f6d70616e795f70726f64756374696f6e5f67726170682e706e67)

[![Pie Chart Example](https://camo.githubusercontent.com/f54d472cb423b3df6069c03c147c53b3d5c0f64fb32f62dade34c20952d949bc/687474703a2f2f7777772e65627275656767656d616e2e636f6d2f73697465732f7777772e65627275656767656d616e2e636f6d2f66696c65732f696d616765732f6578616d706c655f67726170685f365f7069652e706e67)](https://camo.githubusercontent.com/f54d472cb423b3df6069c03c147c53b3d5c0f64fb32f62dade34c20952d949bc/687474703a2f2f7777772e65627275656767656d616e2e636f6d2f73697465732f7777772e65627275656767656d616e2e636f6d2f66696c65732f696d616765732f6578616d706c655f67726170685f365f7069652e706e67)

[![Stacked Graph Example](https://camo.githubusercontent.com/fe50be110418fb475fb96541207ce88cdbe7a3cc51e56a0d541f9ccbc128d09f/687474703a2f2f7777772e65627275656767656d616e2e636f6d2f73697465732f7777772e65627275656767656d616e2e636f6d2f66696c65732f696d616765732f737461636b65642d67726170682d6578616d706c652d322e706e67)](https://camo.githubusercontent.com/fe50be110418fb475fb96541207ce88cdbe7a3cc51e56a0d541f9ccbc128d09f/687474703a2f2f7777772e65627275656767656d616e2e636f6d2f73697465732f7777772e65627275656767656d616e2e636f6d2f66696c65732f696d616765732f737461636b65642d67726170682d6578616d706c652d322e706e67)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.2% 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://www.gravatar.com/avatar/098a1249bc0874b3b11eecebf40d5b830e92cd64c93650a6b39daa871d492e89?d=identicon)[atompulse](/maintainers/atompulse)

---

Top Contributors

[![elliottb](https://avatars.githubusercontent.com/u/1316964?v=4)](https://github.com/elliottb "elliottb (27 commits)")[![Hurtak](https://avatars.githubusercontent.com/u/6587821?v=4)](https://github.com/Hurtak "Hurtak (6 commits)")[![atompulse](https://avatars.githubusercontent.com/u/6084843?v=4)](https://github.com/atompulse "atompulse (4 commits)")[![LupenWonse](https://avatars.githubusercontent.com/u/1410165?v=4)](https://github.com/LupenWonse "LupenWonse (1 commits)")[![studiosi](https://avatars.githubusercontent.com/u/423589?v=4)](https://github.com/studiosi "studiosi (1 commits)")

### Embed Badge

![Health badge](/badges/atompulse-php-graph/health.svg)

```
[![Health](https://phpackages.com/badges/atompulse-php-graph/health.svg)](https://phpackages.com/packages/atompulse-php-graph)
```

PHPackages © 2026

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