PHPackages                             michaelgooden/mdg-money-doctrine - 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. [Database &amp; ORM](/categories/database)
4. /
5. michaelgooden/mdg-money-doctrine

ActiveLibrary[Database &amp; ORM](/categories/database)

michaelgooden/mdg-money-doctrine
================================

Doctrine Types and Embeddables for the PHP implementation of Fowler's Money pattern.

0.4.3(1y ago)16267.6k↓50.7%6[1 issues](https://github.com/MichaelGooden/mdg-money-doctrine/issues)[1 PRs](https://github.com/MichaelGooden/mdg-money-doctrine/pulls)BSD-3-ClausePHP

Since Jan 29Pushed 1y ago2 watchersCompare

[ Source](https://github.com/MichaelGooden/mdg-money-doctrine)[ Packagist](https://packagist.org/packages/michaelgooden/mdg-money-doctrine)[ RSS](/packages/michaelgooden-mdg-money-doctrine/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (2)Dependencies (2)Versions (8)Used By (0)

Mdg Money Doctrine
==================

[](#mdg-money-doctrine)

Include the custom Currency type into your Doctrine configuration.

Point a XML mapping driver to the `vendor/michaelgooden/mdg-money-doctrine/config/orm/Money.Money.dcm.xml` file to being using `\Money\Money` as an embeddable:

```
    /**
     * @ORM\Embedded(class="Money\Money")
     */
    private $total;

    /**
     * @ORM\Embedded(class="Money\Money")
     */
    private $tax;
```

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.3% 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 ~703 days

Total

5

Last Release

628d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1275012?v=4)[Michael Gooden](/maintainers/MichaelGooden)[@MichaelGooden](https://github.com/MichaelGooden)

---

Top Contributors

[![MichaelGooden](https://avatars.githubusercontent.com/u/1275012?v=4)](https://github.com/MichaelGooden "MichaelGooden (36 commits)")[![holtkamp](https://avatars.githubusercontent.com/u/776405?v=4)](https://github.com/holtkamp "holtkamp (1 commits)")

### Embed Badge

![Health badge](/badges/michaelgooden-mdg-money-doctrine/health.svg)

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

###  Alternatives

[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4585.8M4](/packages/martin-georgiev-postgresql-for-doctrine)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14385.8k4](/packages/flow-php-doctrine-dbal-bulk)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k13](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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