dereuromark/cakephp-decimal

CakePHP plugin for decimal handling via value object. Provides DecimalType class.

Maintainers

Package info

github.com/dereuromark/cakephp-decimal

Type:cakephp-plugin

pkg:composer/dereuromark/cakephp-decimal

Statistics

Installs: 12 924

Dependents: 2

Suggesters: 0

Stars: 8

Open Issues: 0

2.3.0 2025-04-17 19:11 UTC

This package is auto-updated.

Last update: 2026-03-13 14:51:48 UTC


README

CI codecov PHPStan Latest Stable Version Minimum PHP Version License Total Downloads

This is an alternative to

  • the core Decimal type (using plain strings)

As value object you have a few advantages, especially on handling the values inside your business logic.

This branch is for use with CakePHP 5.1+. See version map for details.

Requirements

Installation

Require the plugin through Composer:

composer require dereuromark/cakephp-decimal

Setup and Usage

See Documentation.

Demo

Live example see https://sandbox.dereuromark.de/sandbox/decimal-examples/forms