PHPackages                             mhapach/amcharts - 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. mhapach/amcharts

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

mhapach/amcharts
================

am charts laravel php library

0.0.4(2y ago)016BladePHP &gt;=7.2

Since Jul 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mhapach/amcharts)[ Packagist](https://packagist.org/packages/mhapach/amcharts)[ RSS](/packages/mhapach-amcharts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (5)Used By (0)

amcharts
========

[](#amcharts)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cb8184b01fd971343536e31395c23ce7c8558e2203c2651b984b64111cff31d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6861706163682f70726f6a65637476657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mhapach/projectversions)[![Total Downloads](https://camo.githubusercontent.com/5c807c3417675d24be5fe51794871101da140d33501c7d46cd8553d5de0a80f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6861706163682f70726f6a65637476657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mhapach/projectversions)[![Build Status](https://camo.githubusercontent.com/ee5ce7db6c3cd9885a0ef39c19303a307e3aefb77d76a22f4b7ac0cc7ceff1e3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d6861706163682f70726f6a65637476657273696f6e732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/mhapach/projectversions)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

This package is a Laravel (7.0+) wrapper which helps you create AmCharts charts

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

[](#installation)

Add AmCharts lib to your project via Composer

```
$ composer require mhapach/amcharts
```

Configuration
-------------

[](#configuration)

Copy views to your project:

```
php artisan vendor:publish --provider="mhapach\AmCharts\Providers\AmChartsProvider"
```

Usage
-----

[](#usage)

In your controller create instance of AmChart with name of chart that corresponds to directory structure in your resource/views/vendor/amcharts

```
    $chart = new AmChart('xy.column_stacked');
    $chart->setLibraries([
        'https://cdn.amcharts.com/lib/5/index.js',
        "https://cdn.amcharts.com/lib/5/xy.js",
        'https://cdn.amcharts.com/lib/5/themes/Animated.js',
        'https://cdn.amcharts.com/lib/5/themes/Responsive.js',
        'https://cdn.amcharts.com/lib/5/locales/ru_RU.js',
    ]);

    $chart->setData(
        [[
            "year"=> "2021",
            "europe"=> 2.5,
            "namerica"=> 2.5,
            "asia"=> 2.1,
            "lamerica"=> 1,
            "meast"=> 0.8,
            "africa"=> 0.4
        ], [
            "year"=> "2022",
            "europe"=> 2.6,
            "namerica"=> 2.7,
            "asia"=> 2.2,
            "lamerica"=> 0.5,
            "meast"=> 0.4,
            "africa"=> 0.3
        ], [
            "year"=> "2023",
            "europe"=> 2.8,
            "namerica"=> 2.9,
            "asia"=> 2.4,
            "lamerica"=> 0.3,
            "meast"=> 0.9,
            "africa"=> 0.5
        ]]

    );

    print $chart->render();

```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits
-------

[](#credits)

- [author name](https://github.com/mhapach)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

4

Last Release

1020d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6570258?v=4)[mhapach](/maintainers/mhapach)[@mhapach](https://github.com/mhapach)

---

Top Contributors

[![mhapach](https://avatars.githubusercontent.com/u/6570258?v=4)](https://github.com/mhapach "mhapach (1 commits)")

### Embed Badge

![Health badge](/badges/mhapach-amcharts/health.svg)

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

###  Alternatives

[whitehat101/apr1-md5

Apache's APR1-MD5 algorithm in pure PHP

349.7M10](/packages/whitehat101-apr1-md5)

PHPackages © 2026

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