PHPackages                             dpodsiadlo/svg-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dpodsiadlo/svg-charts

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

dpodsiadlo/svg-charts
=====================

SVG Charts Generator for Laravel &amp; DOMPDF

v1.0.5(1y ago)82.8k—8.3%3[1 issues](https://github.com/dpodsiadlo/svg-charts/issues)MITPHPPHP &gt;=5.6

Since Jul 27Pushed 1y ago2 watchersCompare

[ Source](https://github.com/dpodsiadlo/svg-charts)[ Packagist](https://packagist.org/packages/dpodsiadlo/svg-charts)[ RSS](/packages/dpodsiadlo-svg-charts/feed)WikiDiscussions master Synced 1mo ago

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

SVG Charts
==========

[](#svg-charts)

A package for Laraver to generate SVG charts compatible with [DOMPDF](https://github.com/dompdf/dompdf).

### Installation

[](#installation)

Via Composer

```
$ composer require dpodsiadlo/svg-charts
```

### Configuration (only if you have auto discovery disabled)

[](#configuration-only-if-you-have-auto-discovery-disabled)

Once installed, register Laravel service provider, in your `config/app.php`:

```
'providers' => [
	...
    DPodsiadlo\SvgCharts\Providers\SvgChartsProvider::class,
]
```

### Customize

[](#customize)

To customize the chart you can publish the view to `/resources/views/vendor/svg-charts`:

```
 php artisan vendor:publish --provider="DPodsiadlo\SvgCharts\Providers\SvgChartsProvider"
```

### Basic Usage

[](#basic-usage)

#### Line chart

[](#line-chart)

[![Line chart example](examples/images/ps1.png)](examples/images/ps1.png)

Blade template implementation:

```
@inject('svgCharts', '\DPodsiadlo\SvgCharts\SvgCharts')     {{-- Injecting the service --}}

```

### License

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

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

Recently: every ~699 days

Total

6

Last Release

671d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b7e627b65692043f420c6fa3ceabe1ff78af32a9489e2978fe05bc0b448104f9?d=identicon)[Daniel Podsiadło](/maintainers/Daniel%20Podsiad%C5%82o)

---

Top Contributors

[![daniel-hungrymedia](https://avatars.githubusercontent.com/u/94077062?v=4)](https://github.com/daniel-hungrymedia "daniel-hungrymedia (6 commits)")[![dpodsiadlo](https://avatars.githubusercontent.com/u/10677414?v=4)](https://github.com/dpodsiadlo "dpodsiadlo (3 commits)")[![felipehertzer](https://avatars.githubusercontent.com/u/4554784?v=4)](https://github.com/felipehertzer "felipehertzer (2 commits)")[![joserick](https://avatars.githubusercontent.com/u/15143699?v=4)](https://github.com/joserick "joserick (2 commits)")

---

Tags

laravelsvgcharts

### Embed Badge

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

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

###  Alternatives

[akaunting/laravel-apexcharts

ApexCharts package for Laravel

84288.3k2](/packages/akaunting-laravel-apexcharts)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[laravel-enso/charts

Server-side data builder for Chart.js, with a VueJS component for the frontend.

1761.1k7](/packages/laravel-enso-charts)[alexazartsev/heroicon

A Laravel Nova field for managing icons.

10122.4k](/packages/alexazartsev-heroicon)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)[arbermustafa/filament-google-charts-widgets

Chart widgets for Filament Php using Google Charts

147.4k](/packages/arbermustafa-filament-google-charts-widgets)

PHPackages © 2026

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