PHPackages                             distinctm/converter - 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. distinctm/converter

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

distinctm/converter
===================

A tool for converting common measurements in the boating industry

178[2 issues](https://github.com/nullthoughts/boat-units-converter/issues)PHP

Since Apr 17Pushed 7y ago2 watchersCompare

[ Source](https://github.com/nullthoughts/boat-units-converter)[ Packagist](https://packagist.org/packages/distinctm/converter)[ RSS](/packages/distinctm-converter/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

converter
=========

[](#converter)

Measurement utility for converting common units, designed for the boating industry

Install
=======

[](#install)

`composer require distinctm/converter`

Usage
=====

[](#usage)

- Feet to Foot Inches: `(new Length)->convert('feet', 9.25, 'foot-inches') //9'3"`
- Feet to Foot Inches with optional display units: `(new Length)->convert('feet', 9.25, 'foot-inches', [' ft, ', ' in') //9 ft, 3 in`
- Inches to Feet: `(new Length)->convert('inches', 99, 'feet') //8.25`

Supported units
===============

[](#supported-units)

- Length
    - Foot Inches
    - Feet
    - Inches

Notes
=====

[](#notes)

- At the moment, the converter just supports length. Volume and other units are coming soon, see Issues #1 &amp; #2
- Please feel free to contribute by submitting a PR

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![nullthoughts](https://avatars.githubusercontent.com/u/11416468?v=4)](https://github.com/nullthoughts "nullthoughts (14 commits)")

### Embed Badge

![Health badge](/badges/distinctm-converter/health.svg)

```
[![Health](https://phpackages.com/badges/distinctm-converter/health.svg)](https://phpackages.com/packages/distinctm-converter)
```

PHPackages © 2026

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