PHPackages                             thantdev/weight-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. thantdev/weight-conversions

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

thantdev/weight-conversions
===========================

Basic Weight Conversions pacakge in PHP

1.1.1(4y ago)02[2 PRs](https://github.com/thantthuhein/weight-conversions/pulls)MITPHPPHP ^8.0

Since Apr 19Pushed 2y ago1 watchersCompare

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

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

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Basic Weight Conversions pacakge in PHP
=======================================

[](#basic-weight-conversions-pacakge-in-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c5da33c8c4b77192641295534d08d92710c788ab19acb082eb2cf2cd244c992d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468616e746465762f7765696768742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thantdev/weight-conversions)[![Tests](https://github.com/thantdev/weight-conversions/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/thantdev/weight-conversions/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/c650a51b632b9a54256b9fec61cc7647df7472b44d8d987a6440ac2f02fe8102/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468616e746465762f7765696768742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thantdev/weight-conversions)

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

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/3c284ef908f8e40394a0187482134e53d562d8dedabafb60ae49237aaaa18b62/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f7765696768742d636f6e76657273696f6e732e6a70673f743d31)](https://spatie.be/github-ad-click/weight-conversions)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require thantdev/weight-conversions
```

Usage
-----

[](#usage)

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

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Thant Thu Hein](https://github.com/thantthuhein)
- [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

Popularity2

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

1490d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/06b919867fa6944b1ee70dc71eaac61bb885abf1543f7644425ab9568473ed03?d=identicon)[thantthuhein](/maintainers/thantthuhein)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")[![thantthuhein](https://avatars.githubusercontent.com/u/34571099?v=4)](https://github.com/thantthuhein "thantthuhein (5 commits)")[![thantthuhein-genie](https://avatars.githubusercontent.com/u/99555752?v=4)](https://github.com/thantthuhein-genie "thantthuhein-genie (4 commits)")

---

Tags

weight-conversionsthantdev

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/thantdev-weight-conversions/health.svg)

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

PHPackages © 2026

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