PHPackages                             qgsafe/jpgraph - 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. qgsafe/jpgraph

ActiveLibrary

qgsafe/jpgraph
==============

JpGraph library composer package with PHP 8.2 support

1.1(2y ago)055↓100%1QPL-1.0PHPPHP &gt;=5.5

Since Apr 4Pushed 2y agoCompare

[ Source](https://github.com/AdolphGithub/jpgraph)[ Packagist](https://packagist.org/packages/qgsafe/jpgraph)[ Docs](https://github.com/mitoteam/jpgraph)[ RSS](/packages/qgsafe-jpgraph/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

JpGraph library composer package with PHP 8.2 support
=====================================================

[](#jpgraph-library-composer-package-with-php-82-support)

[![Packagist Version](https://camo.githubusercontent.com/3c6e84175e69099fbcad573324feb372bdcfadd0777abc74a0c87b88477989f2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d69746f7465616d2f6a7067726170683f696e636c7564655f70726572656c6561736573267374796c653d666c61742d737175617265266c6f676f3d7061636b6167697374)](https://packagist.org/packages/mitoteam/jpgraph)[![Packagist PHP Version Support](https://camo.githubusercontent.com/d016200c419a7354f1b8bf5fe32b2a439d55e9523f8d1cc20c8e99735cacb3ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d69746f7465616d2f6a7067726170683f7374796c653d666c61742d737175617265266c6f676f3d706870)](https://github.com/mitoteam/jpgraph)[![Packagist Total Downloads](https://camo.githubusercontent.com/a977222c65be4d79f466ae45d95309aa62eaed3de8625f7d106c32eaee6132bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d69746f7465616d2f6a7067726170683f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mitoteam/jpgraph/stats)[![Packagist Monthly Downloads](https://camo.githubusercontent.com/224c602e0507a136914bcfbbc114a7954af4ec2280d9d3e58805f59f9e46cc3e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d69746f7465616d2f6a7067726170683f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mitoteam/jpgraph/stats)

[![GitHub Version](https://camo.githubusercontent.com/578c89291f8a7c3366a0b94bed09e9a98a8049549b706f9afd8aa3663ee28ea0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6d69746f7465616d2f6a7067726170683f7374796c653d666c61742d737175617265266c6f676f3d676974687562)](https://github.com/mitoteam/jpgraph)[![GitHub Release Date](https://camo.githubusercontent.com/5b61cd11abe21082fd3778d6dca8f2bff5560194ae53af34b1d424831939ba70/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f6d69746f7465616d2f6a7067726170683f7374796c653d666c61742d737175617265)](https://github.com/mitoteam/jpgraph/releases)[![GitHub code size in bytes](https://camo.githubusercontent.com/dc6b5056979e12067271c2030dfbf13e9e6bf18cbe3141772d4a5a3a05938ced/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d69746f7465616d2f6a7067726170683f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/dc6b5056979e12067271c2030dfbf13e9e6bf18cbe3141772d4a5a3a05938ced/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d69746f7465616d2f6a7067726170683f7374796c653d666c61742d737175617265)[![GitHub contributors](https://camo.githubusercontent.com/c7787d73367d965a7d73fbe6c0a02cd23a88baad8a7f9a8125643f1c416e7194/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732d616e6f6e2f6d69746f7465616d2f6a7067726170683f7374796c653d666c61742d737175617265)](https://github.com/mitoteam/jpgraph/graphs/contributors)[![GitHub commit activity](https://camo.githubusercontent.com/6bf6c2558c35a7997b6bb9ad071230804732812e9f6911879afe848dfe80fcbf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f792f6d69746f7465616d2f6a7067726170683f7374796c653d666c61742d737175617265)](https://github.com/mitoteam/jpgraph/commits)

Current JpGraph library version: **4.4.1**

PHP versions support: from 5.5 to **8.2**. [Original notes](https://jpgraph.net/download/manuals/chunkhtml/ch01s05.html) about PHP versions.

Usage with composer
-------------------

[](#usage-with-composer)

This package is a helper to load original JpGraph library after declaring it as your dependency in composer.json:

```
composer require qgsafe/jpgraph

```

Then you can load library from anywhere in your code:

```
use mitoteam\jpgraph\MtJpGraph;

// load library and modules
MtJpGraph::load();                # not really useful without modules
//or
MtJpGraph::load('bar');           # load with single module
//or
MtJpGraph::load(['bar', 'line']); # load with several modules

//using original JpGraph classes
$graph = new Graph(200, 300);
```

You can call `MtJpGraph::load()` method as many times as you need everywhere in your code. Internally it checks if library or module was already loaded and does not load it another time.

Usage without composer
----------------------

[](#usage-without-composer)

Download latest version archive from [Releases](https://github.com/mitoteam/jpgraph/releases) page and unpack it.

Version numbers
---------------

[](#version-numbers)

We started with version *4.3.5* as latest available library version in time we started. But we need to make some patches to original library (for example to support latest PHP versions). So we had to switch to own version numbers to be able to release updates.

At 2022-02-25 we decided to switch to version number **10.0.0** to leave some margin in numbering from original library v4.3.5.

Current version numbers:

- **Version 10.2.x** of this package is latest version of JpGraph library with php **8.2** compatibility patches (latest code in "main" branch).
- **Version 4.4.x** of this package provides latest version of original JpGraph library as-is without any compatibility patches (latest code in "original" branch).

All changes to the original library can be examined as [difference between **main** and **original** branches](https://github.com/mitoteam/jpgraph/compare/original..main#files_bucket).

Links
-----

[](#links)

- Original JpGraph website:
- Documentation:
- Examples:

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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 ~49 days

Total

2

Last Release

1083d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9fbf519e7dcf0dd899a38f7cf4a780b6a8b7a44a840915fecbe83561233c1b9f?d=identicon)[AdolphGithub](/maintainers/AdolphGithub)

---

Top Contributors

[![f1mishutka](https://avatars.githubusercontent.com/u/24731190?v=4)](https://github.com/f1mishutka "f1mishutka (60 commits)")[![AdolphGithub](https://avatars.githubusercontent.com/u/17741183?v=4)](https://github.com/AdolphGithub "AdolphGithub (4 commits)")[![luoyunyuan](https://avatars.githubusercontent.com/u/99239750?v=4)](https://github.com/luoyunyuan "luoyunyuan (1 commits)")[![Pryx](https://avatars.githubusercontent.com/u/5222912?v=4)](https://github.com/Pryx "Pryx (1 commits)")

---

Tags

jpgraph

### Embed Badge

![Health badge](/badges/qgsafe-jpgraph/health.svg)

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

###  Alternatives

[amenadiel/jpgraph

Composer Friendly, full refactor of JpGraph, library to make graphs and charts

1492.2M7](/packages/amenadiel-jpgraph)[mitoteam/jpgraph

JpGraph library composer package with PHP 8.5 support

55613.7k7](/packages/mitoteam-jpgraph)

PHPackages © 2026

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