PHPackages                             quangvision/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. quangvision/unit-conversions

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

quangvision/unit-conversions
============================

Awesome unit conversion package in PHP

1.1.1(4y ago)071MITPHPPHP ^7.4|^8.0

Since Aug 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/quangnhattran/unit-conversions)[ Packagist](https://packagist.org/packages/quangvision/unit-conversions)[ Docs](https://github.com/quangvision/unit-conversions)[ GitHub Sponsors](https://github.com/quangvision)[ RSS](/packages/quangvision-unit-conversions/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Awesome unit conversion package in PHP
======================================

[](#awesome-unit-conversion-package-in-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5436231dfdaf2a549dc6e4a9ddda785298e7e99d97f8b9fe96a7c8e54d8999b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7175616e67766973696f6e2f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/quangvision/unit-conversions)[![GitHub Tests Action Status](https://camo.githubusercontent.com/84acbd96c9791bbd0361b8bd8a6a44ba7226663b0face3c74307441cfacc734a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7175616e67766973696f6e2f756e69742d636f6e76657273696f6e732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/quangvision/unit-conversions/actions?query=workflow%3ATests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/f04b8111fdc99ef49d93fc296f9e0ca867224c06d4143b838f2cb329ea79ce73/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7175616e67766973696f6e2f756e69742d636f6e76657273696f6e732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/quangvision/unit-conversions/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/26dca1fb2e83cff4dea1b97251104c20c0a8df127b300da1483aade1b2445233/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7175616e67766973696f6e2f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/quangvision/unit-conversions)

---

This package can be used as to scaffold a framework agnostic package. Follow these steps to get started:

1. Press the "Use template" button at the top of this repo to create a new repo with the contents of this unit-conversions
2. Run "./configure.sh" to run a script that will replace all placeholders throughout all the files
3. Have fun creating your package.
4. If you need help creating a package, consider picking up our [Laravel Package Training](https://laravelpackage.training) video course.

---

This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require quangvision/unit-conversions
```

Usage
-----

[](#usage)

```
$unit-conversions = new Quangvision\UnitConversions();
echo $unit-conversions->echoPhrase('Hello, Quangvision!');
```

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)

- [Quang Tran](https://github.com/quangvision)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

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

Every ~0 days

Total

3

Last Release

1726d ago

### Community

Maintainers

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

---

Top Contributors

[![quangnhattran](https://avatars.githubusercontent.com/u/12606323?v=4)](https://github.com/quangnhattran "quangnhattran (2 commits)")

---

Tags

unit-conversionsquangvision

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[spatie/unit-conversions

Perform unit conversions in PHP

343.5k](/packages/spatie-unit-conversions)

PHPackages © 2026

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