---
title: "A Zero-dependency SVG Chart Library for PHP"
url: https://daily.dev/posts/a-zero-dependency-svg-chart-library-for-php-9qohniseg
source_url: https://laravel-news.com/php-svg-charts-maantje
type: article
source: "Laravel News"
published: 2024-10-22T13:05:46.017Z
updated: 2024-12-12T08:32:08.046Z
tags: ["webdev", "open-source", "php", "svg"]
reading_time: 1
upvotes: 38
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# A Zero-dependency SVG Chart Library for PHP

**[Laravel News](https://daily.dev/sources/ln)** · 1 min read · 38 upvotes · 2 comments

## Summary

The maantje/charts package by Jamie Schouten is a zero-dependency PHP library for generating SVG charts. It offers a simple and intuitive API for creating various chart types including line, bar, stacked, and mixed charts. The package is lightweight, customizable, and outputs pure SVG, which can be embedded in PDFs. Detailed installation instructions and source code are available on GitHub.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/php-svg-charts-maantje>

## Community discussion

Top comments from developers on daily.dev.

**@povilasbrilius** · 0 upvotes

> OMG! LOL...

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#open-source](https://daily.dev/tags/open-source), [#php](https://daily.dev/tags/php), [#svg](https://daily.dev/tags/svg)

[View this post on daily.dev](https://daily.dev/posts/a-zero-dependency-svg-chart-library-for-php-9qohniseg)
