PHPackages                             owl/money - 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. owl/money

AbandonedArchivedLibrary

owl/money
=========

Tag form widget for OctoberCMS.

24491JavaScript

Since Feb 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/october-widgets/money)[ Packagist](https://packagist.org/packages/owl/money)[ RSS](/packages/owl-money/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Money
=====

[](#money)

Money form widget for OctoberCMS.

[![Packagist](https://camo.githubusercontent.com/140f2d9f9ff79174b3d6601144a756db24f67a90e8c62722a31685c6016faa79/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f776c2f6d6f6e65792e737667)](https://camo.githubusercontent.com/140f2d9f9ff79174b3d6601144a756db24f67a90e8c62722a31685c6016faa79/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f776c2f6d6f6e65792e737667)

### Installation

[](#installation)

To install the Money widget with your plugin, add the following to your plugin's `composer.json` file.

```
"require": {
    "owl/money": "~1.0@dev"
}
```

Next, register the widget in your plugin's `Plugin.php` file.

```
public function registerFormWidgets()
{
    return [
        'Owl\FormWidgets\Money\Widget' => [
            'label' => 'Money',
            'code' => 'owl-money'
        ],
    ];
}
```

### Usage

[](#usage)

To use the Money widget, simply declare a field type as `owl-money`

```
price:
    label: Price
    type: owl-money
```

There are several parameters that can be used to customize the money widget. Defining a `thousands` or `decimal` will change the thousands and decimal characters. Defining a `prefix` or `suffix` string will allow you to add currency symbols before or after the input. Lastly, setting `allowNegative` to `true` will allow negative values to be submitted.

The below example will accept negative inputs with a USD prefix (`$ -1,234.56`)

```
price:
    label: Price
    type: owl-money
    prefix: "$ "
    allowNegative: true
```

You may need to define the widget configuration dynamically. For example, your plugin might have a variable currency symbol. This can be achieved like so...

```
Config::set('owl.formwidgets::money', [
    'prefix'        => '$ ',
    'placeholder'   => '$ 0.00',
]);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/904cc72c102eb3725fdc5191aaf7519724839af6feb847dc20dfa138f37e50b2?d=identicon)[scottbedard](/maintainers/scottbedard)

---

Top Contributors

[![scottbedard](https://avatars.githubusercontent.com/u/7980426?v=4)](https://github.com/scottbedard "scottbedard (8 commits)")

### Embed Badge

![Health badge](/badges/owl-money/health.svg)

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

PHPackages © 2026

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