PHPackages                             jalsoft/zstats - 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. jalsoft/zstats

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

jalsoft/zstats
==============

A PHP library for statistical calculations including normal, t, and chi-square distributions.

02PHP

Since Jul 11Pushed 10mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

ZStats – Comprehensive PHP Statistics Library
=============================================

[](#zstats--comprehensive-php-statistics-library)

Features
--------

[](#features)

- Z-score calculator
- Confidence interval builder
- T-distribution &amp; Chi-square approximations
- HTML/CSV/JSON exports
- Unit tested

Install via Composer
--------------------

[](#install-via-composer)

```
composer require jalsoft/zstats
```

Usage

```
use ZStats\ZStats;

$ci = ZStats::confidenceInterval(3.3, 0.2, 64, 0.98);
print_r($ci);
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/20c32d4a2a71b34b982c7e87cd152370a1f7796c882462ac2b544d5244845723?d=identicon)[JalSoft](/maintainers/JalSoft)

---

Top Contributors

[![jalikoa](https://avatars.githubusercontent.com/u/152800950?v=4)](https://github.com/jalikoa "jalikoa (10 commits)")

### Embed Badge

![Health badge](/badges/jalsoft-zstats/health.svg)

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

PHPackages © 2026

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