PHPackages                             mehtasatish/highcharts - 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. mehtasatish/highcharts

ActiveLibrary

mehtasatish/highcharts
======================

PHP-Laravel5 Highcharts

0.0.1(6y ago)05MITPHP

Since Aug 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/satishmehta/highchart-laravel)[ Packagist](https://packagist.org/packages/mehtasatish/highcharts)[ RSS](/packages/mehtasatish-highcharts/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

PHP-Laravel 5 Highcharts
========================

[](#php-laravel-5-highcharts)

Highcharts for PHP-Laravel 5 with Charts, HeatMap, World Map and Tooltip.

### Installations

[](#installations)

Add Package to composer.json

```
composer require highchart/laravel
```

In Laravel 5.5 or greater the service provider will automatically get registered. In older versions of the framework just add the service provider and facade in config/app.php file:

Provider :

```
RezaAr\Highcharts\Provider::class,
```

Facade :

```
'Chart' => RezaAr\Highcharts\Facade::class,
```

then publish the config

```
php artisan vendor:publish
```

### Basic Usage

[](#basic-usage)

In Controller or Other Class

```
 'Voting ballon d`or 2018',
    ])
    ->chart([
        'type'     => 'line', // pie , columnt ect
        'renderTo' => 'chart1', // render the chart into your div with id
    ])
    ->subtitle([
        'text' => 'This Subtitle',
    ])
    ->colors([
        '#0c2959'
    ])
    ->xaxis([
        'categories' => [
            'Alex Turner',
            'Julian Casablancas',
            'Bambang Pamungkas',
            'Mbah Surip',
        ],
        'labels'     => [
            'rotation'  => 15,
            'align'     => 'top',
            'formatter' => 'startJs:function(){return this.value + " (Footbal Player)"}:endJs',
            // use 'startJs:yourjavasscripthere:endJs'
        ],
    ])
    ->yaxis([
        'text' => 'This Y Axis',
    ])
    ->legend([
        'layout'        => 'vertikal',
        'align'         => 'right',
        'verticalAlign' => 'middle',
    ])
    ->series(
        [
            [
                'name'  => 'Voting',
                'data'  => [43934, 52503, 57177, 69658],
                // 'color' => '#0c2959',
            ],
        ]
    )
    ->display();

    return view('welcome', [
        'chart1' => $chart1,
    ]);

?>
```

In Blade

```

{!! $chart1 !!}
```

Output :

[![alt tag](https://camo.githubusercontent.com/5cf62809074f07bdaf5222648ef01c6237982a2da743ef82aad316d6816404a6/68747470733a2f2f707265766965772e6962622e636f2f6d4b726653792f6368617274322e706e67)](https://camo.githubusercontent.com/5cf62809074f07bdaf5222648ef01c6237982a2da743ef82aad316d6816404a6/68747470733a2f2f707265766965772e6962622e636f2f6d4b726653792f6368617274322e706e67)

the package will generate this code in yout view :

```

    Highcharts.chart( {
    title: {
        "text": "Voting ballon d`or 2018"
    }
    , subtitle: {
        "text": "This Subtitle"
    }
    , yAxis: {
        "text": "This Y Axis"
    }
    , xAxis: {
        "categories":["Messi", "CR7", "Bambang Pamungkas", "Del Piero"], "labels": {
            "rotation":15, "align":"top", "formatter":function() {
                return this.value + " (Footbal Player)"
            }
        }
    }
    , legend: {
        "layout": "vertikal", "align": "right", "verticalAlign": "middle"
    }
    , series: [ {
        "name": "Voting", "data": [43934, 52503, 57177, 69658]
    }
    ], chart: {
        "type": "line", "renderTo": "chart1"
    }
    , colors: ["#0c2959"], credits:false
}

);

```

cdn highcharts.js and others js only generated one time

License
-------

[](#license)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2452d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91633456ab76864de2f1a6515027ae5ec477270b02b9951da542592a700d1062?d=identicon)[satishmehta](/maintainers/satishmehta)

---

Tags

laravelpackageshighcharts

### Embed Badge

![Health badge](/badges/mehtasatish-highcharts/health.svg)

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

###  Alternatives

[muhamadrezaar/highcharts

Laravel Highcarts Packages

3146.7k](/packages/muhamadrezaar-highcharts)[mauro-moreno/laravel-highcharts

This is a package for generating a Highchart JSON config.

163.8k](/packages/mauro-moreno-laravel-highcharts)

PHPackages © 2026

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