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. [Utility &amp; Helpers](/categories/utility)
4. /
5. abishekrsrikaanth/normalize-value

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

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 yesterday

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

2964d 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

[markbaker/matrix

PHP Class for working with matrices

1.5k279.7M38](/packages/markbaker-matrix)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[qandidate/toggle

Feature toggling for your PHP application.

3812.0M9](/packages/qandidate-toggle)[opensoft/rollout

Feature switches or flags for PHP

2571.8M5](/packages/opensoft-rollout)[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2751.4M5](/packages/rubix-tensor)[francescomalatesta/laravel-feature

A simple package to manage feature flagging in a Laravel project.

211206.4k](/packages/francescomalatesta-laravel-feature)

PHPackages © 2026

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