PHPackages                             davigs/laravel-zabbix-graph - 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. davigs/laravel-zabbix-graph

ActiveLibrary

davigs/laravel-zabbix-graph
===========================

Get nice looking graphs of your Zabbix devices in Laravel.

1.0.4(5y ago)035MITPHPPHP ^7.0

Since Apr 21Pushed 5y agoCompare

[ Source](https://github.com/davigs/laravel-zabbix-graph)[ Packagist](https://packagist.org/packages/davigs/laravel-zabbix-graph)[ Docs](https://github.com/davigs/laravel-zabbix-graph)[ RSS](/packages/davigs-laravel-zabbix-graph/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (4)Versions (6)Used By (0)

📈 Laravel Zabbix Graph
======================

[](#-laravel-zabbix-graph)

[![Latest Version on Packagist](https://camo.githubusercontent.com/757661bb84234af9a1a81446ba9fd5cc43beaa20ad5a69ad2724cba7d4c6e0a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636173706572626f6f6e652f6c61726176656c2d7a61626269782d67726170682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/casperboone/laravel-zabbix-graph)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![StyleCI](https://camo.githubusercontent.com/8645cfdad2068f98ba402e5d29e4b99aa75b2c9f48c5afaff4c59dd1cd47e53a/68747470733a2f2f7374796c6563692e696f2f7265706f732f38363934353039382f736869656c64)](https://styleci.io/repos/86945098)[![Build Status](https://camo.githubusercontent.com/7b4f76d6d912ff65e5d9610f407e7801c16c936cd07d611afe714766b3530735/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636173706572626f6f6e652f6c61726176656c2d7a61626269782d67726170682f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/casperboone/laravel-zabbix-graph)[![SensioLabsInsight](https://camo.githubusercontent.com/1aebcad4050cb50e5b1bd11618987a70b5d2e4621cc02c1146e571324c3e4bbd/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f61393364653464612d336363632d343234332d626663302d6265393234383033343036632e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/a93de4da-3ccc-4243-bfc0-be924803406c)[![Quality Score](https://camo.githubusercontent.com/56a0369e0b596390f2ae3216face91d85963db2ddbea92b792d31b50f22b2e57/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f636173706572626f6f6e652f6c61726176656c2d7a61626269782d67726170682e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/casperboone/laravel-zabbix-graph)[![Code Coverage](https://camo.githubusercontent.com/4d4ad8b17e42a88964981819ccbdea8dcd37b8236cdf3bc3f7678d71b63ab37d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f636173706572626f6f6e652f6c61726176656c2d7a61626269782d67726170682f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/casperboone/laravel-zabbix-graph/?branch=master)

Get a graph from Zabbix to display on a webpage or to save to a file. If you are not using Laravel, then please check out [this repository](https://github.com/casperboone/zabbix-graph).

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

[](#installation)

You can install the package via composer:

```
composer require casperboone/laravel-zabbix-graph
```

You must install the service provider:

```
// config/app.php
'providers' => [
    ...
    CasperBoone\LaravelZabbixGraph\ZabbixGraphServiceProvider::class,
],
```

If you want to, you can also add the facade:

```
// config/app.php
'aliases' => [
    ...
    'ZabbixGraph' => CasperBoone\LaravelZabbixGraph\ZabbixGraphFacade::class,
],
```

You can publish the config file with (the [default config file](https://github.com/casperboone/laravel-zabbix-graph/blob/master/config/zabbixgraph.php) will suffice in most cases):

```
php artisan vendor:publish --provider="CasperBoone\LaravelZabbixGraph\ZabbixGraphServiceProvider"

```

Make sure to update the config file or your .env file with the details of your Zabbix server.

Usage
-----

[](#usage)

Output a Zabbix graph to an HTTP endpoint (using method injection):

```
