PHPackages                             doxadoxa/php-indicators - 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. doxadoxa/php-indicators

ActiveLibrary

doxadoxa/php-indicators
=======================

Indicator library for PHP.

181157PHP

Since Apr 12Pushed 7y ago2 watchersCompare

[ Source](https://github.com/doxadoxa/php-indicators)[ Packagist](https://packagist.org/packages/doxadoxa/php-indicators)[ RSS](/packages/doxadoxa-php-indicators/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Indicators
==============

[](#php-indicators)

Trading indicators library. It's need for simplify working with `trader` extension.

Requires
--------

[](#requires)

- `php 7.3+`
- `ext-trader`

Install
-------

[](#install)

```
composer install doxadoxa/phpindicators
```

Tests
-----

[](#tests)

Test not exists yet.

Example
-------

[](#example)

```
$klines = ExternalApi::getKlines('btcusdt', '1m');

$ohlvc = new OHLVC( $klines );

$sma14 = $ohlvc->close()->sma(14);
$sma3 = $ohlvc->close()->sma(3);
$atr = $ohlvc->atr(3);

if ( $sma3->crossBelow( $sma14 ) ) {
    Trader::setStopLossOn( $sma3[0] - $atr[0] * 10 );
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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/c4e76a9c9bf8680a843704b2ba55a757285ff416de4f23fe8e42a4ce768ffd72?d=identicon)[doxadoxa](/maintainers/doxadoxa)

### Embed Badge

![Health badge](/badges/doxadoxa-php-indicators/health.svg)

```
[![Health](https://phpackages.com/badges/doxadoxa-php-indicators/health.svg)](https://phpackages.com/packages/doxadoxa-php-indicators)
```

PHPackages © 2026

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