PHPackages                             idct-tech/php-decimal-io-dbal - 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. idct-tech/php-decimal-io-dbal

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

idct-tech/php-decimal-io-dbal
=============================

Missing link between php-decimal.io and Doctrine.

1.0(5y ago)034MITPHPPHP ^8.0

Since Jun 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bpacholek/php-decimal-io-dbal)[ Packagist](https://packagist.org/packages/idct-tech/php-decimal-io-dbal)[ RSS](/packages/idct-tech-php-decimal-io-dbal/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

php-decimal.io Doctrine Type
============================

[](#php-decimalio-doctrine-type)

The missing link between Doctrine and php-decimal.io.

Installation
============

[](#installation)

You require at least PHP 8.0, decimal extension and php-decimal library (installed via composer).

To install this library just type:

```
composer require idct-tech/php-decimal-io-dbal

```

Then in your doctrine configuration be sure to set up the mapping:

In Symfony 4+, 5+ you can set this up in your `config/packages/doctrine.yaml`:

```
doctrine:
    dbal:
        types:
            php_decimal_io:  IDCT\Dbal\PhpDecimalIoType\PhpDecimalIoType
```

Usage
=====

[](#usage)

In your field declarations use type `php_decimal_io`, for example:

```
    /**
     * @ORM\Column(type="php_decimal_io"))
     */
    private Decimal $totalStake;
```

Precision is set to 65 which means that maximum number of digits which can be stored is 65.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1835d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/168780730?v=4)[IDCT Bartosz Pachołek](/maintainers/ideaconnect)[@ideaconnect](https://github.com/ideaconnect)

---

Top Contributors

[![bpacholek](https://avatars.githubusercontent.com/u/3039162?v=4)](https://github.com/bpacholek "bpacholek (1 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/idct-tech-php-decimal-io-dbal/health.svg)

```
[![Health](https://phpackages.com/badges/idct-tech-php-decimal-io-dbal/health.svg)](https://phpackages.com/packages/idct-tech-php-decimal-io-dbal)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M386](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

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

PHPackages © 2026

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