PHPackages                             macocci7/php-boxplot - 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. macocci7/php-boxplot

ActiveLibrary

macocci7/php-boxplot
====================

PHP-Boxplot creates boxplots using FrequencyTable.

1.3.3(2mo ago)114[1 issues](https://github.com/macocci7/PHP-Boxplot/issues)MITPHPPHP &gt;=8.1

Since May 28Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/macocci7/PHP-Boxplot)[ Packagist](https://packagist.org/packages/macocci7/php-boxplot)[ RSS](/packages/macocci7-php-boxplot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (16)Used By (0)

PHP-Boxplot
===========

[](#php-boxplot)

1. Features
-----------

[](#1-features)

`PHP-Boxplot` is a PHP Library which is easy to use for creating boxplots.

`Outlier Detection` can be turned on/off.

`Plotting Mean`, `Plotting Jitter` and `Plotting Outliers` are available.

[![](examples/img/BoxplotDetmersReid2023_02.png)](examples/img/BoxplotDetmersReid2023_02.png)[![](examples/img/BoxplotDetmersReid2023_01.png)](examples/img/BoxplotDetmersReid2023_01.png)Multiple datasets can be displayed side by side at the same time.

Legends can also be displayed.

[![](examples/img/AdjustDisplayByNeon.png)](examples/img/AdjustDisplayByNeon.png)

Transparent background is also supported.

[![](examples/img/TransparentBackground.png)](examples/img/TransparentBackground.png)

Contents
--------

[](#contents)

- [1. Features](#1-features)
- 2. Contents
- [3. Requirements](#3-requirements)
- [4. Installation](#4-installation)
- [5. Usage](#5-usage)
    - [5.1. Basic Usage](#51-basic-usage)
    - [5.2. Adjusting the Display By Methods](#52-adjusting-the-display-by-methods)
    - [5.3. Multiple Data Set](#53-multiple-data-set)
    - [5.4. Adjusting the Display By Neon File](#54-adjusting-the-display-by-neon-file)
    - [5.5. Adjusting the Display By Array](#55-adjusting-the-display-by-array)
    - [5.6. Transparent Background](#56-transparent-background)
- [6. Examples](#6-examples)
- [7. LICENSE](#7-license)

3. Requirements
---------------

[](#3-requirements)

- PHP 8.1 or later
- Imagick PHP Extension

    Check with commands:

    ```
    php -i | grep imagick
    ```
- Composer

4. Installation
---------------

[](#4-installation)

```
composer require macocci7/php-boxplot
```

5. Usage
--------

[](#5-usage)

- [5.1. Basic Usage](#51-basic-usage)
- [5.2. Adjusting the Display By Methods](#52-adjusting-the-display-by-methods)
- [5.3. Multiple Data Set](#53-multiple-data-set)
- [5.4. Adjusting the Display By Neon File](#54-adjusting-the-display-by-neon-file)
- [5.5. Adjusting the Display By Array](#55-adjusting-the-display-by-array)
- [5.6. Transparent Background](#56-transparent-background)

### 5.1. Basic Usage

[](#51-basic-usage)

- PHP: [examples/BasicUsage.php](examples/BasicUsage.php)

    ```
