PHPackages                             codryn/phpfastchart - 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. codryn/phpfastchart

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

codryn/phpfastchart
===================

A fast and simple charting library for PHP, ideal for generating charts in web applications and reports.

0.1.0(5mo ago)16[3 issues](https://github.com/codryn/phpfastchart/issues)[1 PRs](https://github.com/codryn/phpfastchart/pulls)MITPHPPHP &gt;=8.1

Since Jan 15Pushed 5mo agoCompare

[ Source](https://github.com/codryn/phpfastchart)[ Packagist](https://packagist.org/packages/codryn/phpfastchart)[ RSS](/packages/codryn-phpfastchart/feed)WikiDiscussions main Synced today

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

PHPFastChart
============

[](#phpfastchart)

[![PHP Version](https://camo.githubusercontent.com/27d7b4f926939f3cbfbdec4ee0bf45e33457aa351e1ceb3551eddc96c195e19d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312d2d382e352d626c75652e737667)](https://www.php.net/)[![PHPStan Level 10](https://camo.githubusercontent.com/d18b9a987aa81e64470a11caecf72caa66597c9ebd6b307bd1c2cb7a752b0dff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c25323031302d627269676874677265656e2e737667)](https://phpstan.org/)[![CI](https://github.com/codryn/phpfastchart/workflows/CI/badge.svg)](https://github.com/codryn/phpfastchart/actions)[![Latest Stable Version](https://camo.githubusercontent.com/df8d755e99b9ac9b90cf9aede4b5437da51e0a38328ceda47e6135aa7b490a43/68747470733a2f2f706f7365722e707567782e6f72672f636f6472796e2f7068706661737463686172742f762f737461626c65)](https://packagist.org/packages/codryn/phpfastchart)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

> PHP library to generate simple charts fast.

**PHPFastChart** is a fast and simple charting library for PHP 8.1+, ideal for generating charts in web applications and reports.

Features
--------

[](#features)

- 🚀 **Zero dependencies** - Only uses PHP's built-in GD extension (SVG is pure PHP)
- 📊 **Multiple chart types** - Line, Bar, Pie, Scatter, and Radar charts
- 🎨 **Customizable** - Colors, dimensions, and styling options
- 📁 **Multiple formats** - PNG, WEBP, and SVG output
- ✅ **PHP 8.1+** - Modern PHP with strict types and readonly properties
- 🧪 **Well tested** - PHPUnit tests with high coverage
- 📝 **Documented** - Complete PHPDoc for all public APIs

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- GD extension (for PNG/WEBP output)

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

[](#installation)

```
composer require codryn/phpfastchart
```

Quick Start
-----------

[](#quick-start)

### Basic Line Chart

[](#basic-line-chart)

```
