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

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

albertoroldanq/weight-conversions
=================================

PHP package to perform weight conversions

1.1.0(1y ago)16[1 PRs](https://github.com/albertoroldanq/package-weight-conversion-php/pulls)MITPHPPHP ^7.4|^8.1

Since Aug 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/albertoroldanq/package-weight-conversion-php)[ Packagist](https://packagist.org/packages/albertoroldanq/weight-conversions)[ Docs](https://github.com/albertoroldanq/weight-conversions)[ GitHub Sponsors](https://github.com/albertoroldanq)[ RSS](/packages/albertoroldanq-weight-conversions/feed)WikiDiscussions main Synced 1mo ago

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

PHP package to perform weight conversions
=========================================

[](#php-package-to-perform-weight-conversions)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0987c07a3b93dd0b66e5e523214d2d6e94c5963f17f9b34b3a6a6f789643c43d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c626572746f726f6c64616e712f7765696768742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/albertoroldanq/weight-conversions)[![Tests](https://github.com/albertoroldanq/package-weight-conversion-php/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/albertoroldanq/package-weight-conversion-php/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/0b9ebf699de74224976c441f454bded0370e7b9cdca26b0935015f4d2a04e65f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c626572746f726f6c64616e712f7765696768742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/albertoroldanq/weight-conversions)

The PHP framework-agnostic package can perform weight conversions simply and intuitively to convert between various weight units.

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

[](#installation)

You can install the package via Composer:

```
composer require albertoroldanq/weight-conversions
```

Usage
-----

[](#usage)

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

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)

- [Alberto Roldan](https://github.com/albertoroldanq)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

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

676d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18287617?v=4)[Alberto Roldan](/maintainers/albertoroldanq)[@albertoroldanq](https://github.com/albertoroldanq)

---

Top Contributors

[![albertoroldanq](https://avatars.githubusercontent.com/u/18287617?v=4)](https://github.com/albertoroldanq "albertoroldanq (26 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

conversionsphpweightweight-conversionsalbertoroldanq

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

PHPackages © 2026

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