PHPackages                             daikazu/cli-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. [CLI &amp; Console](/categories/cli)
4. /
5. daikazu/cli-charts

ActiveLibrary[CLI &amp; Console](/categories/cli)

daikazu/cli-charts
==================

This is my package cli-charts

v1.0.0(4mo ago)00MITPHPPHP ^8.4CI passing

Since Dec 30Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/daikazu/cli-charts)[ Packagist](https://packagist.org/packages/daikazu/cli-charts)[ Docs](https://github.com/daikazu/cli-charts)[ GitHub Sponsors](https://github.com/Daikazu)[ RSS](/packages/daikazu-cli-charts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (11)Versions (2)Used By (0)

  ![Logo for CLI Charts](art/header-light.png)[![Latest Version on Packagist](https://camo.githubusercontent.com/9d0987e76502193137dc6e2ffc9bd19ac479f09d508bd1f0ba874234b7d6c1fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461696b617a752f636c692d6368617274732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/daikazu/cli-charts)[![GitHub Tests Action Status](https://camo.githubusercontent.com/08be281e884cb308bc0a0d52dbb5448c758a7eed594010b07638d5432cc95aec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6461696b617a752f636c692d6368617274732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/daikazu/cli-charts/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e6d468e8d04dc890f608f3db99ec3d969e5fbb347c795e2db63003ff52742745/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6461696b617a752f636c692d6368617274732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/daikazu/cli-charts/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/1e86e8d599b7f93f179725a6f85bb4f562000d1d99e11698d627eee44dd765a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6461696b617a752f636c692d6368617274732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/daikazu/cli-charts)

PHP CLI Charts
==============

[](#php-cli-charts)

A PHP library for rendering beautiful charts in the command line using Unicode characters, Braille patterns, and ANSI colors.

Features
--------

[](#features)

- 6 chart types: Bar, Vertical Bar, Line, Pie, Stacked Bar, and Percentage Bar
- High-resolution rendering using Braille characters for smooth curves and lines
- ANSI color support with automatic color cycling
- Customizable dimensions, titles, and display options
- Simple factory pattern API
- Requires PHP 8.4+

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

[](#installation)

```
composer require daikazu/cli-charts
```

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

[](#quick-start)

```
