PHPackages                             libchart/libchart - 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. libchart/libchart

ActiveLibrary

libchart/libchart
=================

Simple PHP chart drawing library

v1.6.0(1y ago)582.8k↓10.4%91GPL-3.0-onlyPHPPHP ^7.0 || ^8.0

Since Oct 19Pushed 1y agoCompare

[ Source](https://github.com/astehlik/libchart)[ Packagist](https://packagist.org/packages/libchart/libchart)[ Docs](http://naku.dohcrew.com/libchart/pages/introduction/)[ RSS](/packages/libchart-libchart/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (7)Used By (1)

Composer compatible fork of Libchart
====================================

[](#composer-compatible-fork-of-libchart)

This fork was originally created to be able to use libchart via Composer.

It has not been maintained for quite some time and the original project is discontinued.

I will accept pull requests but it might take some time.

Old version!
------------

[](#old-version)

There have been some changes to the original project at  since this fork was created!

These have not been merged yet. Feel free to create a pull request.

Project discontinued
--------------------

[](#project-discontinued)

Please be advised that the original author has discontinued this project! See

Libchart - Simple PHP chart drawing library
===========================================

[](#libchart---simple-php-chart-drawing-library)

Libchart is a free chart creation PHP library, that is easy to use.

Features
--------

[](#features)

```
* Bar charts (horizontal or vertical).
* Pie charts.
* Line charts.
* Compatibility with PHP 5.

```

Dependencies
------------

[](#dependencies)

```
* PHP 5, compiled with:
* GD 2+
* FreeType 2+

```

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

[](#installation)

In order to use Libchart, unpack the archive in you project directory and include libchart.php. Please have a look at the demo files for more information.

You need to chmod 777 the "generated" directory in order to generate the demos.

There is also a tutorial available at the project homepage.

Contact info
------------

[](#contact-info)

WWW:

MAIL: jm.tremeaux at gmail dot com

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance49

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

5

Last Release

378d ago

PHP version history (2 changes)v1.4.2PHP ^7.0

v1.6.0PHP ^7.0 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/956513?v=4)[Alexander Stehlik](/maintainers/astehlik)[@astehlik](https://github.com/astehlik)

---

Top Contributors

[![astehlik](https://avatars.githubusercontent.com/u/956513?v=4)](https://github.com/astehlik "astehlik (24 commits)")[![sanmai](https://avatars.githubusercontent.com/u/139488?v=4)](https://github.com/sanmai "sanmai (18 commits)")[![naku](https://avatars.githubusercontent.com/u/1281790?v=4)](https://github.com/naku "naku (17 commits)")

---

Tags

chartchartsline chartsbar chartspie charts

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[cmen/google-charts-bundle

This Bundle provides a Twig extension and PHP objects to display Google charts in your Symfony application.

76844.8k2](/packages/cmen-google-charts-bundle)[ianw/quickchart

QuickChart chart API

46638.6k](/packages/ianw-quickchart)[image-charts/image-charts

Official Image-Charts.com API client library

2762.3k](/packages/image-charts-image-charts)[onmotion/yii2-widget-apexcharts

Yii2 charts widget - wrapper for the ApexCharts.js

1957.6k1](/packages/onmotion-yii2-widget-apexcharts)[antoineaugusti/easyphpcharts

A PHP class for chartjs.org charts.

252.8k](/packages/antoineaugusti-easyphpcharts)

PHPackages © 2026

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