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

ActiveLibrary

aktaa-co/unit-conversions
=========================

Perform unit conversion in PHP

1.1.1(4y ago)061MITPHPPHP ^8.0

Since Sep 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mohammedaktaa/unit-conversions)[ Packagist](https://packagist.org/packages/aktaa-co/unit-conversions)[ Docs](https://github.com/mohammedaktaa/unit-conversions)[ GitHub Sponsors](https://github.com/mohammedaktaa)[ RSS](/packages/aktaa-co-unit-conversions/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (4)Versions (4)Used By (0)

Perform unit conversion in PHP
==============================

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/38e43fb2bacbf3760cb2b81e01caaebb2d9376a931391f556546a22ac680c166/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76656e646f725f736c75672f7061636b6167655f736c75672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vendor_slug/package_slug)[![GitHub Tests Action Status](https://camo.githubusercontent.com/aac62f6d16b93bedca7c527fbc10e5fef28bfeb714652dcc5ea5e6f0030614d0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f76656e646f725f736c75672f7061636b6167655f736c75672f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/vendor_slug/package_slug/actions?query=workflow%3ATests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e1797fa83b691302d309d83c9fa4934ede9c870fe788421f68f28caca48d8ca9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f76656e646f725f736c75672f7061636b6167655f736c75672f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/vendor_slug/package_slug/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/b09234c7d6775bd20a4055a6563fa0654aae4e7b24de06da4cd940291a0438b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76656e646f725f736c75672f7061636b6167655f736c75672e7376673f7374796c653d666c61742d737175617265)](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/ddebc88adda541c4b8f7d7c4d4e0a416f12749e02ee7ce7c367376d0f58ba441/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f756e69742d636f6e76657273696f6e732e6a70673f743d31)](https://spatie.be/github-ad-click/unit-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 vendor_slug/package_slug
```

Usage
-----

[](#usage)

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

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Mohammad Aktaa](https://github.com/mohammedaktaa)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~3 days

Total

3

Last Release

1695d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d0541c6e28896a6383244a569a72a53a07ef114d7b56f80f17289db2d23d6f7?d=identicon)[mohammedaktaa](/maintainers/mohammedaktaa)

---

Top Contributors

[![mohammadaktaa1995](https://avatars.githubusercontent.com/u/39169584?v=4)](https://github.com/mohammadaktaa1995 "mohammadaktaa1995 (12 commits)")[![mohammedaktaa](https://avatars.githubusercontent.com/u/21006017?v=4)](https://github.com/mohammedaktaa "mohammedaktaa (6 commits)")

---

Tags

unit-conversionsAktaa

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/aktaa-co-unit-conversions/health.svg)](https://phpackages.com/packages/aktaa-co-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)
