Skip to content

CakePHP Decimal type handling using Decimal value object.

License

Notifications You must be signed in to change notification settings

dereuromark/cakephp-decimal

Repository files navigation

CakePHP Decimal Plugin

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

About

CakePHP Decimal type handling using Decimal value object.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages