PHPackages                             abishekrsrikaanth/normalize-value - 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. abishekrsrikaanth/normalize-value

ActiveLibrary

abishekrsrikaanth/normalize-value
=================================

Normalizes a value according to the specified steps, using feature scaling.

1.0(8y ago)02MITPHPPHP &gt;=5.6

Since Apr 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/abishekrsrikaanth/normalize-value)[ Packagist](https://packagist.org/packages/abishekrsrikaanth/normalize-value)[ RSS](/packages/abishekrsrikaanth-normalize-value/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

normalize-value
===============

[](#normalize-value)

[![Last version](https://camo.githubusercontent.com/4cf85d06cd2ee35a3b6c39155bc4f52aae247e67ce01fe301d8ec289f27e73de/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f6162697368656b727372696b61616e74682f6e6f726d616c697a652d76616c75652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/4cf85d06cd2ee35a3b6c39155bc4f52aae247e67ce01fe301d8ec289f27e73de/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f6162697368656b727372696b61616e74682f6e6f726d616c697a652d76616c75652e7376673f7374796c653d666c61742d737175617265)[![Donate](https://camo.githubusercontent.com/538b7224b22301e34e4fbdcb20c2936c5a35f32695f843c2ca4570d44bf2e9cf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d70617970616c2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://paypal.me/abishekrsrikaanth)

> Normalizes a value according to the specified steps, using [feature scaling](https://en.m.wikipedia.org/wiki/Feature_scaling).

Install
-------

[](#install)

```
$ composer require abishekrsrikaanth/normalize-value
```

Usage
-----

[](#usage)

```
$normalizedValue = normalize_value(500, [
        ["value" => 0, "norm" => 1],
        ["value" => 1000, "norm" => 0]
    ]);

echo $normalizedValue; //0.5
```

License
-------

[](#license)

**normalize-value** © [Technicaliti](https://technicaliti.me), Released under the MIT License.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

2960d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/679089de897a6d3f79d14628be0e3a38b3d77ccfa7c1f85ca7de06ae7564b166?d=identicon)[abishekrsrikaanth](/maintainers/abishekrsrikaanth)

---

Top Contributors

[![abishekrsrikaanth](https://avatars.githubusercontent.com/u/1639302?v=4)](https://github.com/abishekrsrikaanth "abishekrsrikaanth (3 commits)")

---

Tags

normalizefeaturevectorvaluemeanstandardizationscalingnormalisation

### Embed Badge

![Health badge](/badges/abishekrsrikaanth-normalize-value/health.svg)

```
[![Health](https://phpackages.com/badges/abishekrsrikaanth-normalize-value/health.svg)](https://phpackages.com/packages/abishekrsrikaanth-normalize-value)
```

###  Alternatives

[laravelcm/laravel-subscriptions

Laravel Subscriptions is a flexible plans and subscription management system for Laravel, with the required tools to run your SAAS like services efficiently. It's simple architecture, accompanied by powerful underlying to afford solid platform for your business.

23255.0k3](/packages/laravelcm-laravel-subscriptions)

PHPackages © 2026

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