PHPackages                             keshavistart/unit\_conversions - 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. keshavistart/unit\_conversions

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

keshavistart/unit\_conversions
==============================

Perform unit conversion in PHP

1.0.0(5y ago)06MITPHPPHP ^7.3|^8.0

Since Apr 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/keshavistart/unit-conversions)[ Packagist](https://packagist.org/packages/keshavistart/unit_conversions)[ Docs](https://github.com/keshavistart/unit_conversions)[ RSS](/packages/keshavistart-unit-conversions/feed)WikiDiscussions master Synced today

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

Perform unit conversion in PHP
==============================

[](#perform-unit-conversion-in-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ee1f495ed5cab7432f19757d66c461773905e4b4b80bb146e28bd60acb965ff5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b65736861766973746172742f756e69745f636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/keshavistart/unit_conversions)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f5579c792bd930fb504456a154be05cb4cb778bdb989f55e1ea417f45c66d8f6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6b65736861766973746172742f756e69745f636f6e76657273696f6e732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/keshavistart/unit_conversions/actions?query=workflow%3ATests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/cd3d270ceda44e1b81beaf17b02727f53d9fab509c07fb24476be6e03b3afcbd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6b65736861766973746172742f756e69745f636f6e76657273696f6e732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/keshavistart/unit_conversions/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/01d09e5a4cb7f38e2d9fc9105d4ce3a61f654438f8a253791e5f216030ff96f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b65736861766973746172742f756e69745f636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/keshavistart/unit_conversions)

This package can perform various unit conversion

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

[](#installation)

You can install the package via composer:

```
composer require keshavistart/unit_conversions
```

Usage
-----

[](#usage)

```
$unit_conversions = new Keshavistart\UnitConversions();
echo $unit_conversions->echoPhrase('Hello, Keshavistart!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Keshav Kehave Joshi](https://github.com/keshavistart)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

1855d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c28193ca03414a77e232eda18df9d4bb26608dc5766fc3b1e6f4967ded6d4737?d=identicon)[keshavistart](/maintainers/keshavistart)

---

Top Contributors

[![keshavistart](https://avatars.githubusercontent.com/u/47630363?v=4)](https://github.com/keshavistart "keshavistart (13 commits)")

---

Tags

unit-conversionskeshavistart

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/keshavistart-unit-conversions/health.svg)

```
[![Health](https://phpackages.com/badges/keshavistart-unit-conversions/health.svg)](https://phpackages.com/packages/keshavistart-unit-conversions)
```

###  Alternatives

[krlove/code-generator

Code Generator

702.3M18](/packages/krlove-code-generator)[friendsofcat/laravel-feature-flag

Feature Flags for Laravel

311.2M](/packages/friendsofcat-laravel-feature-flag)[nlgen/nlgen

A library for creating recursive-descent natural language generators.

56181.3k](/packages/nlgen-nlgen)[spatie/unit-conversions

Perform unit conversions in PHP

363.5k](/packages/spatie-unit-conversions)[juststeveking/uri-builder

A simple URI builder in PHP that is slightly opinionated

20285.7k5](/packages/juststeveking-uri-builder)[myclabs/array-comparator

Array comparator

19182.5k](/packages/myclabs-array-comparator)

PHPackages © 2026

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