PHPackages                             gigerit/larapex-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. gigerit/larapex-charts

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

gigerit/larapex-charts
======================

Package to provide easy api to build apex charts on Laravel

v10.1.0(4w ago)241MITPHPPHP ^8.3CI passing

Since May 12Pushed 4w agoCompare

[ Source](https://github.com/gigerIT/larapex-charts)[ Packagist](https://packagist.org/packages/gigerit/larapex-charts)[ Docs](https://github.com/gigerit/larapex-charts)[ RSS](/packages/gigerit-larapex-charts/feed)WikiDiscussions master Synced 1w ago

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

Larapex Charts
==============

[](#larapex-charts)

[![Latest Stable Version](https://camo.githubusercontent.com/ae44959049696822ea3f4a1ba3af6c8d11620ffb63b8ea5a335ce691d741f681/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676967657269742f6c6172617065782d6368617274733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/gigerit/larapex-charts) [![Total Downloads](https://camo.githubusercontent.com/453b08351509801e8876e5294f9de06fac3439c5ff1ebec4faaa8723f5a4cbe1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676967657269742f6c6172617065782d6368617274733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/gigerit/larapex-charts) [![GitHub Actions](https://camo.githubusercontent.com/be36cd60c1d4e48e0b51fbaf82775297401cd0313cbded315168080bbe85fc12/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f676967657269742f6c6172617065782d6368617274732f63692e796d6c3f7374796c653d666f722d7468652d6261646765)](https://github.com/gigerit/larapex-charts/actions/workflows/ci.yml) [![License](https://camo.githubusercontent.com/f185441628b7109df0ce77a74e736cd2b24f5774304884bd67a756186f33ddb2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f676967657269742f6c6172617065782d6368617274733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/gigerit/larapex-charts)

Larapex Charts is a Laravel wrapper for the ApexCharts JavaScript charting library.

This package is the gigerIT-maintained fork of `arielmejiadev/larapex-charts`. It continues the original package with ongoing maintenance, compatibility updates, code cleanups, optimizations, and support for current Laravel versions, including Laravel 13.

It is a drop-in replacement for the original package. Existing applications do not need code changes, namespace changes, config changes, or view changes. The public API, service provider, facade, publishable assets, and generated chart stubs remain compatible with the original package.

Check the upstream documentation on: [Larapex Chart Docs](https://larapex-charts.netlify.app/).

About this fork
---------------

[](#about-this-fork)

This fork keeps Larapex Charts usable in modern Laravel applications while preserving the original developer experience. The goal is to provide a reliable maintenance path for projects that already depend on Larapex Charts and for new projects that want the same simple chart-building API.

Maintained improvements include:

- Laravel 13 compatibility, alongside the currently supported Laravel versions.
- Composer metadata updates so the package can be installed as `gigerit/larapex-charts` from Packagist.
- CI coverage for PHPUnit, PHPStan static analysis, and a Laravel/PHP compatibility matrix.
- Package cleanups to remove generated files, IDE metadata, logs, test reports, and other local artifacts from distributed releases.
- Repository and release hygiene improvements for cleaner installs and more predictable package archives.
- Ongoing maintenance, fixes, and optimizations while keeping the package compatible with existing usage.

Drop-in replacement
-------------------

[](#drop-in-replacement)

Use this fork when you want a maintained version of Larapex Charts without rewriting existing application code.

If your application currently uses `arielmejiadev/larapex-charts`, replace the Composer dependency with this fork:

```
composer remove arielmejiadev/larapex-charts
composer require gigerit/larapex-charts
```

No PHP imports need to change. Continue using the existing namespace:

```
use ArielMejiaDev\LarapexCharts\Facades\LarapexChart;
```

The package also declares a Composer replacement for the original package name, so downstream packages that require `arielmejiadev/larapex-charts` can be satisfied by this fork.

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

[](#installation)

Install the maintained fork with Composer:

```
composer require gigerit/larapex-charts
```

Usage
-----

[](#usage)

### Basic example

[](#basic-example)

In your controller add:

```
$chart = (new LarapexChart)->setTitle('Posts')
                   ->setDataset([150, 120])
                   ->setLabels(['Published', 'No Published']);
```

Remember to import the Facade to your controller with:

```
use ArielMejiaDev\LarapexCharts\Facades\LarapexChart;
```

Or importing the LarapexChart class:

```
use ArielMejiaDev\LarapexCharts\LarapexChart;
```

Then in your view (Blade file) add:

```

     Chart Sample

     {!! $chart->container() !!}

     {{ $chart->script() }}

```

### More complex example

[](#more-complex-example)

```
$chart = (new LarapexChart)->setType('area')
        ->setTitle('Total Users Monthly')
        ->setSubtitle('From January to March')
        ->setXAxis([
            'Jan', 'Feb', 'Mar'
        ])
        ->setDataset([
            [
                'name'  =>  'Active Users',
                'data'  =>  [250, 700, 1200]
            ]
        ]);
```

You can create a variety of charts including: Line, Area, Bar, Horizontal Bar, Heatmap, pie, donut and Radialbar.

More examples
-------------

[](#more-examples)

Check the documentation on: [Larapex Chart Docs](https://larapex-charts.netlify.app/)

Laravel Boost
-------------

[](#laravel-boost)

This package ships a Laravel Boost skill for AI-assisted development. When an application has both `gigerit/larapex-charts` and `laravel/boost` installed, Boost can discover the package skill from `resources/boost/skills/larapex-charts-development/SKILL.md` and install it for supported agents during `php artisan boost:install` or `php artisan boost:update --discover`.

Contributing
------------

[](#contributing)

This fork is maintained by gigerIT. Contributions that improve compatibility, reliability, tests, documentation, or package hygiene are welcome.

Before submitting changes, run the test suite and static analysis:

```
composer test
composer test:types
```

The package was originally created by Ariel Mejia Dev. This fork preserves the original package API and credits while continuing maintenance for modern Laravel projects.

License
-------

[](#license)

[MIT](./LICENSE.md)

Roadmap for future versions
---------------------------

[](#roadmap-for-future-versions)

- Add blade directive `@apexchartscdn`
- Add blade directive `@script($chart)`
- Expand `setOptions()` documentation with advanced ApexCharts examples
- Continue modernizing internals while preserving the drop-in API
- Add ReactJS + Inertia Support
- Add More complex charts
- Add More complex boilerplate code using Laravel/Prompts
- Add more complex boilerplate code examples using Laravel Trends Package

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance94

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 56.3% of commits — single point of failure

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

Total

2

Last Release

28d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b8b982f1ca65bca2356c040bc612db0d03ee2443fd194bdfa9f44a4c3fa2267?d=identicon)[gigerit](/maintainers/gigerit)

---

Top Contributors

[![ArielMejiaDev](https://avatars.githubusercontent.com/u/31971074?v=4)](https://github.com/ArielMejiaDev "ArielMejiaDev (72 commits)")[![gigerIT](https://avatars.githubusercontent.com/u/64487711?v=4)](https://github.com/gigerIT "gigerIT (37 commits)")[![pandigresik](https://avatars.githubusercontent.com/u/1853475?v=4)](https://github.com/pandigresik "pandigresik (3 commits)")[![jamesmills](https://avatars.githubusercontent.com/u/557096?v=4)](https://github.com/jamesmills "jamesmills (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")[![jeffreyvanhees](https://avatars.githubusercontent.com/u/8754630?v=4)](https://github.com/jeffreyvanhees "jeffreyvanhees (2 commits)")[![marineusde](https://avatars.githubusercontent.com/u/105713989?v=4)](https://github.com/marineusde "marineusde (2 commits)")[![chimit](https://avatars.githubusercontent.com/u/839349?v=4)](https://github.com/chimit "chimit (1 commits)")[![Tschucki](https://avatars.githubusercontent.com/u/43211841?v=4)](https://github.com/Tschucki "Tschucki (1 commits)")[![ManukMinasyan](https://avatars.githubusercontent.com/u/2556185?v=4)](https://github.com/ManukMinasyan "ManukMinasyan (1 commits)")[![umairparacha00](https://avatars.githubusercontent.com/u/64344369?v=4)](https://github.com/umairparacha00 "umairparacha00 (1 commits)")[![bensonarafat](https://avatars.githubusercontent.com/u/12992332?v=4)](https://github.com/bensonarafat "bensonarafat (1 commits)")[![dandoingdev](https://avatars.githubusercontent.com/u/3135215?v=4)](https://github.com/dandoingdev "dandoingdev (1 commits)")[![sushantaryal](https://avatars.githubusercontent.com/u/8115655?v=4)](https://github.com/sushantaryal "sushantaryal (1 commits)")[![hesami](https://avatars.githubusercontent.com/u/17120377?v=4)](https://github.com/hesami "hesami (1 commits)")

---

Tags

apexchartslaravelvuechartsapexchartsarielmejiadevlarapexgigerIT

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[arielmejiadev/larapex-charts

Package to provide easy api to build apex charts on Laravel

304473.0k](/packages/arielmejiadev-larapex-charts)[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[akaunting/laravel-apexcharts

ApexCharts package for Laravel

84316.7k3](/packages/akaunting-laravel-apexcharts)[marineusde/larapex-charts

Package to provide easy api to build apex charts on Laravel

1218.9k](/packages/marineusde-larapex-charts)

PHPackages © 2026

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