dereuromark/cakephp-decimal

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

Installs: 2 880

Dependents: 2

Suggesters: 0

Security: 0

Stars: 8

Watchers: 4

Forks: 1

Open Issues: 0

Type:cakephp-plugin

2.1.0 2023-11-22 20:23 UTC

This package is auto-updated.

Last update: 2024-04-19 10:51:26 UTC


README

CI Latest Stable Version codecov License Minimum PHP Version

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.0+. 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