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

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

mininduhewawasam/weight-conversions
===================================

weight conversions in PHP

2.0.0(3y ago)04[1 issues](https://github.com/mininduhewawasam/weight-conversions/issues)[2 PRs](https://github.com/mininduhewawasam/weight-conversions/pulls)MITPHPPHP ^8.0

Since Jul 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mininduhewawasam/weight-conversions)[ Packagist](https://packagist.org/packages/mininduhewawasam/weight-conversions)[ Docs](https://github.com/mininduhewawasam/weight-conversions)[ RSS](/packages/mininduhewawasam-weight-conversions/feed)WikiDiscussions main Synced 3w ago

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

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

This is my package weight-conversions
=====================================

[](#this-is-my-package-weight-conversions)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d99aca39cdae4d465973755a494f53af7d70dc2f2fef0798e5929ecf163663e2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696e696e647568657761776173616d2f7765696768742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mininduhewawasam/weight-conversions)[![GitHub Tests Action Status](https://camo.githubusercontent.com/01da741a70dfd92696bedd3e247dc2f0921a66c5136db154a07f97c0a2cd6a3a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d696e696e647568657761776173616d2f7765696768742d636f6e76657273696f6e732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/mininduhewawasam/weight-conversions/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/1bba821b99c10a605b7dc764622a4de7ee7645aa9be0a59a8a3721c93c8f4fd0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d696e696e647568657761776173616d2f7765696768742d636f6e76657273696f6e732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/mininduhewawasam/weight-conversions/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/a95ac108fe93815388d04306e5b7a860946f410f7744442bd8ddf25cec952032/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696e696e647568657761776173616d2f7765696768742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mininduhewawasam/weight-conversions)

This is where your description should go. 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 mininduhewawasam/weight-conversions
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="weight-conversions-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="weight-conversions-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="weight-conversions-views"
```

Usage
-----

[](#usage)

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

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/mininduhewawasam/.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)

- [Minindu Hewawasam](https://github.com/mininduhewawasam)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

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 ~2 days

Total

3

Last Release

1457d ago

Major Versions

1.0.1 → 2.0.02022-07-07

### Community

Maintainers

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

---

Top Contributors

[![minindu-intervest](https://avatars.githubusercontent.com/u/150236032?v=4)](https://github.com/minindu-intervest "minindu-intervest (13 commits)")[![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)")[![mininduhewawasam](https://avatars.githubusercontent.com/u/47469043?v=4)](https://github.com/mininduhewawasam "mininduhewawasam (7 commits)")

---

Tags

laravelweight-conversionsmininduhewawasam

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M46](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/laravel-wallet

A simple wallet implementation for Laravel

26611.9k](/packages/stephenjude-laravel-wallet)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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