brick/math
Arbitrary-precision math for PHP. Work with big integers, decimals, and rational numbers via a clean OOP API. Optimized with GMP or BCMath when available, with automatic runtime selection. Requires PHP 8.2+ (older versions available).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| brick/money | 0.90 | Brick\Money is a PHP library for precise, immutable money and currency values. It provides exact arithmetic (no float errors), explicit rounding control, and supports large amounts via brick/math, with optional GMP/BCMath acceleration. | 1,918 | 1,934 | 118 | 1M | 4 | 45.1 | 47.3 | MIT | 1 week ago | |
| brick/date-time | 0.87 | Immutable, ISO-8601–focused date/time API for PHP 8.2+ built on top of native DateTime, adding missing types like LocalDate, LocalTime, YearMonth, and MonthDay. Inspired by Java’s JSR-310, well-tested, production-ready, Composer installable. | 363 | 366 | 36 | 176K | 19 | 27.9 | 49.7 | MIT | 6 months ago | |
| brick/geo | 0.87 | brick/geo is a PHP geometry library for working with points, lines, polygons, and other shapes. Provides common spatial operations, parsing/formatting, and robust value objects to model geo data cleanly in applications and services. | 250 | 251 | 33 | 184K | 6 | 13.0 | 41.2 | MIT | 1 year ago | |
| brick/reflection | 0.86 | Low-level PHP 8.1+ helpers extending native reflection. ReflectionTools can list all instance methods/properties across inheritance (including private parents), get class hierarchies, and create reflections for any callable with meaningful function names. | 23 | 24 | 3 | 7K | 1 | 18.7 | 37.8 | MIT | 4 months ago |
How can I help you explore Laravel packages today?