PHPackages                             artemind/unit-converter - 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. artemind/unit-converter

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

artemind/unit-converter
=======================

A simple PHP-based unit converter

v1.0.1(8mo ago)101MITPHPPHP &gt;=8.2

Since Aug 14Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/artemind/unit-converter-php)[ Packagist](https://packagist.org/packages/artemind/unit-converter)[ Docs](https://github.com/artemind/unit-converter-php)[ RSS](/packages/artemind-unit-converter/feed)WikiDiscussions main Synced 1mo ago

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

PHP Unit Converter Package
==========================

[](#php-unit-converter-package)

Unit Converter is a flexible and extensible PHP package that allows you to convert between different units of measurement.

Requirements
------------

[](#requirements)

- PHP 8.2 or higher

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

[](#installation)

```
composer require artemind/unit-converter
```

Usage
-----

[](#usage)

```
use Artemind\UnitConverter\Converters\Temperature\CelsiusConverter;

$converter = new CelsiusConverter(10);
$converter->toFahrenheit(); //50.0
$converter->toKelvin(); //283.15
$converter->toRankine(); //509.67
```

Available Converters
--------------------

[](#available-converters)

- Distance
    - Kilometers to Miles
    - Miles to Kilometers
    - Meters to Feet
    - Feet to Meters
- Temperature:
    - Celsius to Fahrenheit
    - Celsius to Kelvin
    - Celsius to Rankine
    - Fahrenheit to Celsius
    - Fahrenheit to Kelvin
    - Fahrenheit to Rankine
    - Kelvin to Fahrenheit
    - Kelvin to Celsius
    - Kelvin to Rankine
    - Rankine to Celsius
    - Rankine to Fahrenheit
    - Rankine to Kelvin
- Weight:
    - Kilograms to Pounds
    - Pounds to Kilograms

👨‍💻 Author
----------

[](#‍-author)

**Artem Yeremenko**

- Website: [artemind.dev](https://artemind.dev/?utm_source=github&utm_medium=repo_unit-converter-php&utm_campaign=personal_brand)
- GitHub: [@artemind](https://github.com/artemind)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance58

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.7% 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

2

Last Release

269d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9196dc443809a5d0710ecd7daf6b7b1af06f03f81144cc8f7d2050ecedbefe43?d=identicon)[tem4iq](/maintainers/tem4iq)

---

Top Contributors

[![artemind](https://avatars.githubusercontent.com/u/24897027?v=4)](https://github.com/artemind "artemind (22 commits)")[![raphaelstolt](https://avatars.githubusercontent.com/u/48225?v=4)](https://github.com/raphaelstolt "raphaelstolt (1 commits)")

---

Tags

composer-packageconvertersphpphp-libraryunit-converterunit-converterartemind

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/artemind-unit-converter/health.svg)

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

PHPackages © 2026

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