PHPackages                             raliqala/any-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. raliqala/any-conversions

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

raliqala/any-conversions
========================

Everything conversion like Kilograms to Pounds, temperature, weight,volume, speed, length, angle, time etc..

1.2.0(4y ago)26MITPHPPHP ^8.0

Since Oct 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/raliqala/any-conversions)[ Packagist](https://packagist.org/packages/raliqala/any-conversions)[ Docs](https://github.com/raliqala/any-conversions)[ GitHub Sponsors](https://github.com/raliqala)[ RSS](/packages/raliqala-any-conversions/feed)WikiDiscussions dev Synced 1mo ago

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

Perform unit conversions in PHP
===============================

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

[![Latest Stable Version](https://camo.githubusercontent.com/df6ba540d95776e353591b76c25c1f87284bfea74c5ff62ec08c816288c036df/687474703a2f2f706f7365722e707567782e6f72672f72616c6971616c612f616e792d636f6e76657273696f6e732f76)](https://packagist.org/packages/raliqala/any-conversions) [![Total Downloads](https://camo.githubusercontent.com/3d24b480a4fdaa8cf5df5021c569b92a616a53677ee1ef970df7554cbf978bdc/687474703a2f2f706f7365722e707567782e6f72672f72616c6971616c612f616e792d636f6e76657273696f6e732f646f776e6c6f616473)](https://packagist.org/packages/raliqala/any-conversions) [![Latest Unstable Version](https://camo.githubusercontent.com/fcba26c678bb6719b1fadb2e69df822b61a63d511dff263bc13d24cc42f34dfd/687474703a2f2f706f7365722e707567782e6f72672f72616c6971616c612f616e792d636f6e76657273696f6e732f762f756e737461626c65)](https://packagist.org/packages/raliqala/any-conversions) [![License](https://camo.githubusercontent.com/1b36d0d1cc9c73c05728f012ab13b807ca461d3dc5610965322ca1f2b0c8fa5a/687474703a2f2f706f7365722e707567782e6f72672f72616c6971616c612f616e792d636f6e76657273696f6e732f6c6963656e7365)](https://packagist.org/packages/raliqala/any-conversions) [![PHP Version Require](https://camo.githubusercontent.com/734a372e06e3eebbb2e6cba3e8bf541341cfe5b3442a8fcebcff2705ba6ee5a5/687474703a2f2f706f7365722e707567782e6f72672f72616c6971616c612f616e792d636f6e76657273696f6e732f726571756972652f706870)](https://packagist.org/packages/raliqala/any-conversions)

This package can perform various unit conversions. Right now, It supports kg to other weights etc.. and celsius to other temperatures, this package is still new so i'm still compiling docs.

Here's how to use it:

```
use raliqala\AnyConversions\Weight;

Weight::fromKilograms(100)->toLbs(); // returns 220.4623;
```

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

[](#installation)

You can install the package via composer:

```
composer require raliqala/any-conversions
```

Usage
-----

[](#usage)

#### From kg to lbs

[](#from-kg-to-lbs)

```
raliqala\AnyConversions\Weight::fromKilograms(100)->toLbs(); // returns 220.4623;
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Topollo](https://github.com/raliqala)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

1685d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e9f783eaf3b040029ca47ff612d4a665207d58a9d1cc97c36a16370b4f1137e?d=identicon)[raliqala](/maintainers/raliqala)

---

Top Contributors

[![raliqala](https://avatars.githubusercontent.com/u/30502407?v=4)](https://github.com/raliqala "raliqala (42 commits)")

---

Tags

raliqalaany-conversions

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/raliqala-any-conversions/health.svg)

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

PHPackages © 2026

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