PHPackages                             hassanelshazlyeida/unit-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. hassanelshazlyeida/unit-conversions

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

hassanelshazlyeida/unit-conversions
===================================

Perform unit conversions in PHP

1.1.0(3y ago)05[3 PRs](https://github.com/HassanElshazlyEida/unit-conversions/pulls)MITPHPPHP ^8.0

Since Nov 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/HassanElshazlyEida/unit-conversions)[ Packagist](https://packagist.org/packages/hassanelshazlyeida/unit-conversions)[ Docs](https://github.com/HassanElshazlyEida/unit-conversions)[ GitHub Sponsors](https://github.com/:vendor_name)[ RSS](/packages/hassanelshazlyeida-unit-conversions/feed)WikiDiscussions main Synced 1mo ago

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

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

:package\_description
=====================

[](#package_description)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5f26f29e3835d3e04dfb3e6992e46b5430e5084e3f511c8585677c49a7b93a14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f3a76656e646f725f736c75672f3a7061636b6167655f736c75672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/:vendor_slug/:package_slug)[![Tests](https://github.com/:vendor_slug/:package_slug/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/:vendor_slug/:package_slug/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/eecef849b077e1fd177407f7332e114b97c07a007ef6f271940339001b727e66/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f3a76656e646f725f736c75672f3a7061636b6167655f736c75672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/:vendor_slug/:package_slug)

---

This package can be used as to scaffold a framework agnostic package. Follow these steps to get started:

1. Press the "Use template" button at the top of this repo to create a new repo with the contents of this skeleton
2. Run "php ./configure.php" to run a script that will replace all placeholders throughout all the files
3. Have fun creating your package.
4. If you need help creating a package, consider picking up our [Laravel Package Training](https://laravelpackage.training) video course.

---

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/d7f26d1155fe87eaf7316120ab13df33a13607eaf39c890056b69a8dce07de16/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f3a7061636b6167655f6e616d652e6a70673f743d31)](https://spatie.be/github-ad-click/:package_name)

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 :vendor_slug/:package_slug
```

Usage
-----

[](#usage)

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

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)

- [:author\_name](https://github.com/:author_username)
- [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

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.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

2

Last Release

1279d ago

PHP version history (2 changes)1.0.0PHP ^7.4

1.1.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b7017f938c60c62cd7b8972f126341afeee0e0f74c1388c85b402656e6a5415?d=identicon)[HassanElshazlyEida](/maintainers/HassanElshazlyEida)

---

Top Contributors

[![HassanElshazlyEida](https://avatars.githubusercontent.com/u/49269480?v=4)](https://github.com/HassanElshazlyEida "HassanElshazlyEida (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

unit-conversionsHassanElshazlyEida

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/hassanelshazlyeida-unit-conversions/health.svg)

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

###  Alternatives

[spatie/unit-conversions

Perform unit conversions in PHP

363.5k](/packages/spatie-unit-conversions)

PHPackages © 2026

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