Libraries tagged by arithmetic
ez-php/money
292 Downloads
Immutable Money and Currency value objects for the ez-php ecosystem — ISO 4217 currencies, arbitrary-precision arithmetic via ez-php/bignum, allocation, and locale-aware formatting
ez-php/bignum
756 Downloads
Arbitrary-precision integer and decimal arithmetic for the ez-php ecosystem — immutable BigInteger and BigDecimal value objects backed by bcmath (gmp optional)
cardano-php/transaction
1026 Downloads
Cardano transaction serialization, addresses, native scripts, slot arithmetic, fees, minimum UTxO, coin selection, transaction building and witness assembly.
ls-a/arithmetic-ast
110 Downloads
Implements the Shunting Yard Algorithm and creates an Abstract Syntax Tree with arithmetic operations
tetthys/bc
56 Downloads
Bc is a small and simple but accurate tool for calculation.
phpcommon/intmath
220 Downloads
A library for arithmetic operations on integers that wraps around upon overflow.
bakame/tokei
17 Downloads
Immutable value objects for expressive temporal modeling: time, duration, circular 24-hour intervals, and interval sets, without timezone handling.
wizardlabz/kiahk
0 Downloads
Coptic calendar arithmetic — date conversion, Easter, and feast days. PHP port of kiahk.
vivekco/laravel-math-captcha
11 Downloads
Simple single-digit arithmetic captcha for Laravel.
vinkius-labs/trilean
2 Downloads
Trilean is a Laravel package that pushes ternary logic beyond the classic true/false/unknown paradigm. Inspired by balanced-ternary computing principles—including trits, three-state logic gates, and ternary arithmetic.
tezmanian/utils-num
18 Downloads
PHP number utilities: formatting, byte sizes, percentage, clamping, and rounding helpers (Num), plus arbitrary-precision decimal arithmetic via bcmath (Bc). PHP 8.3+, ext-bcmath is optional and only needed for Bc.
sghimire/nepali-date-library
27 Downloads
Fast, zero-dependency Nepali Date (Bikram Sambat / BS) converter and calendar library for PHP. Bidirectional BS to AD / AD to BS conversion, fiscal year, date arithmetic, and Devanagari formatting.
osama-dev/filament-calculator-action
12 Downloads
Dynamic real-time calculator action for Filament v3 & v4 — instant client-side arithmetic, zero Livewire round-trips
nathanjel/sel-lang
49 Downloads
A small expression language for business rules: one rule gives the same answer in Python, JavaScript, PHP, C++23, Common Lisp, Rust and Go, or in your database as SQL. Exact decimal arithmetic, no floating point, no truthiness.
mehr-it/php-decimals
3925 Downloads
Easy to use arithmetic operations for decimals in PHP (using BCMath)