PHPackages                             theprofessor/unit-conversion - 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. theprofessor/unit-conversion

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

theprofessor/unit-conversion
============================

perform unit conversion in php

1.0.0(5y ago)03MITShellPHP ^7.4

Since Sep 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Eyadhamza/unit-conversion)[ Packagist](https://packagist.org/packages/theprofessor/unit-conversion)[ Docs](https://github.com/theprofessor/unit-conversion)[ Fund](https://spatie.be/open-source/support-us)[ GitHub Sponsors](https://github.com/spatie)[ RSS](/packages/theprofessor-unit-conversion/feed)WikiDiscussions master Synced 4w ago

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

perform unit conversion in php
==============================

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/8798904f94108a4b827c70656a8106b112cb310871d0d4d55231b425516b61dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74686570726f666573736f722f756e69742d636f6e76657273696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/theprofessor/unit-conversion)[![GitHub Tests Action Status](https://camo.githubusercontent.com/3485a58bc093a9346a5a827f27ae3d827f9d7b3eb50b1f1b9ba2a5375fe9e8e1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f74686570726f666573736f722f756e69742d636f6e76657273696f6e2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/theprofessor/unit-conversion/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/8b63cbe6594ccabe99d73193399c3deee7ee48248add999b5686532076686c12/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74686570726f666573736f722f756e69742d636f6e76657273696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/theprofessor/unit-conversion)

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 theprofessor/unit-conversion
```

Usage
-----

[](#usage)

```
$skeleton = new Theprofessor\UnitConversion();
echo $skeleton->echoPhrase('Hello, Theprofessor!');
```

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

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Eyad Hamza](https://github.com/EyadHamza)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2073d ago

### Community

Maintainers

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

---

Top Contributors

[![Eyadhamza](https://avatars.githubusercontent.com/u/65258058?v=4)](https://github.com/Eyadhamza "Eyadhamza (12 commits)")

---

Tags

unit-conversiontheprofessor

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/theprofessor-unit-conversion/health.svg)

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

###  Alternatives

[jaeger/querylist-phantomjs

QueryList Plugin: Use PhantomJS to crawl Javascript dynamically rendered pages.(headless WebKit ) 使用PhantomJS采集JavaScript动态渲染的页面

6124.3k1](/packages/jaeger-querylist-phantomjs)

PHPackages © 2026

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