PHPackages                             alangustavo/trader-supertrend - 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. alangustavo/trader-supertrend

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

alangustavo/trader-supertrend
=============================

Get supertrend indicators from php and php-trader library

1.0.1(3y ago)1651MITPHP

Since Dec 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/alangustavo/trader-supertrend)[ Packagist](https://packagist.org/packages/alangustavo/trader-supertrend)[ RSS](/packages/alangustavo-trader-supertrend/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

trader-supertrend Library
=========================

[](#trader-supertrend-library)

This is a library that implements the supertrend indicator.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0.0
- Extension php\_trader

Installation
------------

[](#installation)

This library is intended to be installed with composer.

```
composer require alangustavo/trader-supertrend

```

Usage
-----

[](#usage)

```
TraderSupertrend::get(array $high, array $low, array $close, $timePeriod, $multiplier);
```

it returns an array with:

```
[
    [
        'close' => 13.58332345,
        'type'  => '-1'
    ],
    [
        'close' => $12.5468844,
        'type'  => 1
    ]
]
```

where -1 = sell and 1 = buy.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

1256d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23ad9c35fd62196a09fcb89661b5363fcde68bec4734ad4ee6c9fc046bea022c?d=identicon)[alangustavo](/maintainers/alangustavo)

---

Top Contributors

[![alangustavo](https://avatars.githubusercontent.com/u/918331?v=4)](https://github.com/alangustavo "alangustavo (6 commits)")

### Embed Badge

![Health badge](/badges/alangustavo-trader-supertrend/health.svg)

```
[![Health](https://phpackages.com/badges/alangustavo-trader-supertrend/health.svg)](https://phpackages.com/packages/alangustavo-trader-supertrend)
```

PHPackages © 2026

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