https://github.com/brainfoolong/php-svg-charts
Generate SVG image charts to be able to use it in web and pdf at the same time.
https://github.com/brainfoolong/php-svg-charts
mpdf pdf php svg svg-charts
Last synced: 5 months ago
JSON representation
Generate SVG image charts to be able to use it in web and pdf at the same time.
- Host: GitHub
- URL: https://github.com/brainfoolong/php-svg-charts
- Owner: brainfoolong
- License: mit
- Created: 2025-07-18T06:54:52.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-30T12:12:57.000Z (6 months ago)
- Last Synced: 2025-07-30T12:53:57.361Z (6 months ago)
- Topics: mpdf, pdf, php, svg, svg-charts
- Language: PHP
- Homepage: https://brainfoolong.github.io/php-svg-charts/
- Size: 282 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP SVG Charts (Beta)
> Generate SVG image charts in PHP with ease.
[](https://github.com/brainfoolong/php-svg-charts/actions/workflows/tests.yml)

### Features
- Different types of charts ([suggest and help to integrate more](https://github.com/brainfoolong/php-svg-charts/issues))
- RAW SVG output
- PHP generation, no JS or Browser needed (Makes it easy to use cronjobs/automations)
- Extremely customizable in output, design and data representation. Even add custom attributes so you can write your own frontend JS code to provide mouseover tooltips for example
### Requirements
Basic PHP 8.1+ with no special extensions, runs everywhere where basic PHP can be installed.
### Installation
```
composer require brainfoolong/svg-charts
```
### Usage / Documentation
Just head to https://brainfoolong.github.io/php-svg-charts/