php-standard-library/math
Strictly typed math utilities for PHP with predictable, consistent error handling. Part of the PHP Standard Library project, providing reliable mathematical functions and a stable developer experience for safer numeric operations.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| brick/math | 0.84 | Arbitrary-precision math for PHP. Work with big integers, decimals and rationals reliably, with automatic acceleration via GMP or BCMath when available. PHP 8.2+ supported. Stable 0.x release cycles suitable for production. | 2,130 | 2,147 | 93 | 13M | 0 | 43.9 | 61.5 | MIT | 3 weeks ago | |
| php-standard-library/type | 0.81 | Runtime type validation for PHP using “Parse, Don’t Validate”: coerce and assert unstructured input into well-typed data. Useful for APIs, configs, and user input with clear parsing rules, assertions, and predictable failures. | 1 | 0 | 0 | 12K | 0 | 20.6 | 61.3 | MIT | 2 weeks ago | |
| php-standard-library/filesystem | 0.80 | Type-safe filesystem utilities for PHP Standard Library. Perform common file and directory operations with consistent APIs and proper exception handling, improving safety and clarity over raw PHP functions. Documentation and contribution links included. | 1 | 0 | 0 | 5K | 0 | 20.6 | 55.8 | MIT | 2 weeks ago | |
| php-standard-library/range | 0.80 | Range types for integer sequences with built-in iteration support. Create, traverse, and manipulate numeric ranges with a clean, standard-library style API. Part of the PHP Standard Library project; see docs, contribute, or report issues on GitHub. | 1 | 0 | 0 | 8K | 0 | 20.6 | 58.5 | MIT | 2 weeks ago | |
| php-standard-library/json | 0.80 | php-standard-library/json provides JSON encode/decode helpers with sensible defaults and typed exceptions. Safer, clearer error handling than native json_encode/json_decode, ideal for consistent JSON handling in PHP apps and libraries. | 1 | 0 | 0 | 8K | 0 | 20.6 | 58.1 | MIT | 2 weeks ago | |
| php-standard-library/php-standard-library | 0.78 | PSL is a modern standard library for PHP 8.4+, inspired by HHVM’s HSL. It offers consistent, well-typed APIs for async, collections, I/O, networking, crypto, terminal UI, and more—safer alternatives to built-ins with predictable errors and async-ready design. | 1,513 | 1,512 | 83 | 63K | 19 | 44.7 | 34.2 | MIT | 2 weeks ago | |
| zendframework/zend-math | 0.78 | Zend Math provides math utilities for PHP, including big integer/decimal support, random number generation, and statistical helpers. Part of the Zend Framework ecosystem, it offers consistent, tested components for numeric operations. | 53 | 56 | 23 | 41K | 1 | 11.6 | 46.8 | BSD-3-Clause | 7 years ago | |
| voku/phpstan-rules | 0.74 | Additional PHPStan rules to catch risky and redundant condition logic and comparisons. Detects double negatives, PHP 8 behavior changes (0 vs ''), insane/invalid comparisons (0=='0foo', 0==='0'), and type-mismatch checks (e.g., object vs non-object). | 33 | 33 | 1 | 4K | 2 | 1.3 | 31.2 | MIT | — | |
| yamadashy/phpstan-friendly-formatter | 0.74 | PHPStan Friendly Formatter enhances PHPStan output with code frames around errors, a summary of error identifiers and counts, and clean, readable reports. Install via Composer, include the extension in phpstan.neon, and set errorFormat to friendly. | 64 | 64 | 5 | 37K | 1 | 22.5 | 44.8 | MIT | 2 months ago | |
| phpstan/phpstan | 0.73 | PHPStan is a PHP static analysis tool that finds bugs without running your code. It checks types and logic, flags common error patterns early, and helps enforce higher code quality—bringing PHP closer to compiled-language safety before tests or runtime. | 13,894 | 13,945 | 947 | 8M | 1,103 | 90.8 | 72.0 | MIT | 1 week ago | |
| phpstan/phpstan-phpunit | 0.73 | PHPStan extension for PHPUnit: improves type inference for mocks (intersection types for createMock/getMock), understands Foo|MockObject phpDocs, adds early-terminating methods to avoid undefined vars, and refines assert() types. Optional strict rules catch improper assertion usage. | 527 | 531 | 56 | 3M | 33 | 44.1 | 78.9 | MIT | 1 month ago |
How can I help you explore Laravel packages today?