PHPackages                             nystudio107/craft-units - 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. nystudio107/craft-units

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

nystudio107/craft-units
=======================

Units is a plugin that can convert between any units of measure, and comes with a Field for content authors to use

5.0.1(10mo ago)910.4k↑200%2[2 PRs](https://github.com/nystudio107/craft-units/pulls)MITPHPCI passing

Since May 12Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/nystudio107/craft-units)[ Packagist](https://packagist.org/packages/nystudio107/craft-units)[ GitHub Sponsors](https://github.com/khalwat)[ RSS](/packages/nystudio107-craft-units/feed)WikiDiscussions develop-v5 Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (24)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/bcff52c8fba3357771ee37e0a53ec90f3e9dd02821b66583b8787af6f0e59041/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d756e6974732f6261646765732f7175616c6974792d73636f72652e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-units/?branch=v5) [![Code Coverage](https://camo.githubusercontent.com/b443eb2ccfc6449a2c7023fb5e81b42df153c348fd593d1eb28c086ce6b1c6b6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d756e6974732f6261646765732f636f7665726167652e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-units/?branch=v5) [![Build Status](https://camo.githubusercontent.com/9e092b0f4f2139a0969acada1a903ffc4a2b8b303310708f8a6283c7bfe5123d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d756e6974732f6261646765732f6275696c642e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-units/build-status/v5) [![Code Intelligence Status](https://camo.githubusercontent.com/646d7af0db8495c087ad599fdfa60d08ef9f0e597fb02d902adb5584262191a8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d756e6974732f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d7635)](https://scrutinizer-ci.com/code-intelligence)

Units plugin for Craft CMS 5.x
==============================

[](#units-plugin-for-craft-cms-5x)

Units is a plugin that can convert between any units of measure, and comes with a Field for content authors to use.

[![Screenshot](./docs/docs/resources/img/plugin-logo.png)](./docs/docs/resources/img/plugin-logo.png)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 5.0.0 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require nystudio107/craft-units

    ```
3. Install the plugin via `./craft install/plugin units` via the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Units.

You can also install Units via the **Plugin Store** in the Craft Control Panel.

Documentation
-------------

[](#documentation)

Click here -&gt; [Units Documentation](https://nystudio107.com/plugins/units/documentation)

Units Roadmap
-------------

[](#units-roadmap)

Some things to do, and ideas for potential features:

- Add the ability to control what units appear in the list (because who uses *yottameters*?)

Brought to you by [nystudio107](https://nystudio107.com/)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance55

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~136 days

Recently: every ~0 days

Total

20

Last Release

329d ago

Major Versions

1.0.6 → 4.0.12023-04-24

1.0.7 → 4.0.22025-01-20

4.0.2 → 5.0.02025-01-20

1.0.8 → 4.0.32025-06-14

v4.x-dev → v5.x-dev2025-06-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7570798?v=4)[Andrew Welch](/maintainers/khalwat)[@khalwat](https://github.com/khalwat)

---

Top Contributors

[![khalwat](https://avatars.githubusercontent.com/u/7570798?v=4)](https://github.com/khalwat "khalwat (108 commits)")

---

Tags

conversioncraft-plugincraft3craftcmsmeasurementmeasuresunitsconversioncmsCraftcraftcmscraft-pluginunitsmeasurementmeasures

### Embed Badge

![Health badge](/badges/nystudio107-craft-units/health.svg)

```
[![Health](https://phpackages.com/badges/nystudio107-craft-units/health.svg)](https://phpackages.com/packages/nystudio107-craft-units)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

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