MarkBaker/PHPComplex
PHP Class for handling Complex numbers observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4927
- days_rel: n/a
- days_push: 1366
- n_releases_24m: 0
Adoption not part of the score
1663 stars · 12 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library providing a Complex number class with arithmetic operations and a wide range of mathematical functions such as trigonometric, hyperbolic, exponential, and logarithmic operations. It is installed via Composer and supports creating complex numbers from values or strings.
Use cases
- perform arithmetic on complex numbers in php
- compute trigonometric functions of complex numbers
- convert complex numbers to polar form
- calculate square roots and logarithms of complex numbers
- parse complex number strings in php
When to choose
- you need complex number math in a PHP project
- you want a small, focused, MIT-licensed math library
- you need polar/conjugate/inverse operations plus full trig and hyperbolic function coverage
When to avoid
- you need procedural function-style calls (use markbaker/complex-functions instead)
- you work outside PHP
- you need arbitrary-precision or symbolic complex arithmetic
Facets
library · maturity maintenance
math mathematics developer-tools php complex-numbers arithmetic trigonometry composer-package
1 source
- readme: https://github.com/MarkBaker/PHPComplex · fetched 2026-08-28 · 08fe6613b608
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MarkBaker/PHPComplex | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="MarkBaker/PHPComplex")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem