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(4y ago)034MITPHPPHP ^8.0

Since Jun 24Pushed 4y 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 2d 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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

1783d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b76a5fac115d24d698d09cc939a6922bf309732ae61d0f2f215ae9e7397658ea?d=identicon)[ideaconnect](/maintainers/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

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[pixelfederation/doctrine-resettable-em-bundle

Symfony bundle for decorating default entity managers using a resettable decorator.

20113.5k](/packages/pixelfederation-doctrine-resettable-em-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.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

813.1k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

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