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

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

duncanrmorris/units
===================

The Units Package for Laravel

1.0(5y ago)04[4 issues](https://github.com/DRMorris-IT-Services/units/issues)MITBlade

Since Oct 15Pushed 5y agoCompare

[ Source](https://github.com/DRMorris-IT-Services/units)[ Packagist](https://packagist.org/packages/duncanrmorris/units)[ RSS](/packages/duncanrmorris-units/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Laravel Units Package
=====================

[](#laravel-units-package)

[![Latest Stable Version](https://camo.githubusercontent.com/78c42207f68ab1f0ac33ce566b3b65c6f8560878cf66df5758183c583aaa910f/68747470733a2f2f706f7365722e707567782e6f72672f64756e63616e726d6f727269732f756e6974732f76)](//packagist.org/packages/duncanrmorris/units)[![License](https://camo.githubusercontent.com/7260fd8ada181479540a3006da6e2d4c82daabb73c5a6a3b4dab165271399cea/68747470733a2f2f706f7365722e707567782e6f72672f64756e63616e726d6f727269732f756e6974732f6c6963656e7365)](//packagist.org/packages/duncanrmorris/units)[![Monthly Downloads](https://camo.githubusercontent.com/9f02da5de62705a56fccc939f1516d75611fc4fd4e02d67df1035d4cda25cfe5/68747470733a2f2f706f7365722e707567782e6f72672f64756e63616e726d6f727269732f756e6974732f642f6d6f6e74686c79)](//packagist.org/packages/duncanrmorris/units)[![Total Downloads](https://camo.githubusercontent.com/ffce539ca8d2017a67ff2af40ed4571ad402b96ce4817d6bca1b6bb1f71853f1/68747470733a2f2f706f7365722e707567782e6f72672f64756e63616e726d6f727269732f756e6974732f646f776e6c6f616473)](//packagist.org/packages/duncanrmorris/units)

[![Unit Overview](units_overview.png)](units_overview.png)[![Unit Details](units_details.png)](units_details.png)

Welcome to the Units package for Laravel ^7.2, which provides a complete solution to unit management.

The Unit package is designed to be used with other packages from DRMorris IT Services, to check out these packages head over to

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

[](#installation)

To use our package, follow these simple installation instructions.

### Step 1

[](#step-1)

Setup your Laravel project as required, then run the command:

```
composer require duncanrmorris/units

```

### Step 2

[](#step-2)

Once the composer has completed the installation, you will need to add the Service Provider in your "./config/app.php" file:

```
'providers' => [

        /*
         * Laravel Framework Service Providers...
         */
        Illuminate\Auth\AuthServiceProvider::class,
        Illuminate\Broadcasting\BroadcastServiceProvider::class,
        Illuminate\Bus\BusServiceProvider::class,
        ///
        duncanrmorris\units\UnitsServiceProvider::class,

```

### Step 3

[](#step-3)

You will then need to run the database tables setup via:

```
php artisan migrate

```

### Step 4

[](#step-4)

You will now be able to route to this new module via "/units", for example:

```
Units

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

2034d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbc566ff9bd214a02cc5f51861b6f6798fe6e115c1be35f625405e2399df19c5?d=identicon)[drmorris-itservices](/maintainers/drmorris-itservices)

---

Top Contributors

[![duncanrmorris](https://avatars.githubusercontent.com/u/69160629?v=4)](https://github.com/duncanrmorris "duncanrmorris (13 commits)")[![dmorris-rawcoding](https://avatars.githubusercontent.com/u/52562499?v=4)](https://github.com/dmorris-rawcoding "dmorris-rawcoding (1 commits)")

### Embed Badge

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

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

###  Alternatives

[chenkby/yii2-region

Yii2中国省市区三级联动

325.1k](/packages/chenkby-yii2-region)

PHPackages © 2026

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