New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

cline/numerus

Immutable numeric value object with chainable arithmetic operations and Laravel Number formatting
11,751
Install
composer require cline/numerus
Latest Version:5.0.3
PHP:^8.5.0
Laravel:10 – 13
License:MIT
Last Updated:Mar 18, 2026
Links: GitHub  ·  Packagist
Maintainer: faustbrian

GitHub Workflow Status Latest Version on Packagist Software License Total Downloads


Immutable numeric value object with chainable arithmetic operations and Laravel Number formatting. Uses brick/math for arbitrary-precision arithmetic, ensuring accurate calculations for financial and scientific use cases.

Requirements

Requires PHP 8.4+

Installation

composer require cline/numerus

Documentation

  • Basic Usage - Core arithmetic and rounding operations
  • Comparisons - Comparison operations and type checking
  • Chaining - Advanced chaining patterns and practical examples
  • Formatting - Laravel Number formatting, localization, and parsing

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.

Related Packages

cable8mm/n-format

Laravel package for Korean and Japanese number formatting with Eloquent casts, v...

1,700 2
ptplugins/filament-number-input

Locale-aware number input for FilamentPHP v3, v4, and v5. Users see 12.345,67 or...

1,005 2
cline/intl

Type-safe internationalization value objects and validation rules for Laravel ap...

15,543 1
marciojc/language-switch

A Laravel Package to switch language

13 1

Version History

Version Released PHP Laravel License
5.0.3 ^8.5.0 ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT
5.0.2 ^8.5.0 ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT
5.0.1 ^8.5.0 ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT
5.0.0 ^8.5.0 ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT