Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Bcmath Polyfill Laravel Package

nanasess/bcmath-polyfill

Pure-PHP polyfill for PHP's bcmath extension, providing bcadd, bcmul and the rest of the arbitrary-precision math functions when the native extension isn't installed. Drop-in compatibility for libraries and apps that rely on bcmath, with no server configuration changes needed.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
phpmath/bignumber 0.82 Arbitrary-precision arithmetic for PHP. phpmath/bignumber provides a BigNumber class for very large integers and high-precision decimals, with basic math operations, comparisons, rounding, and formatting beyond native integer and float limits. 5 — 3 — 0 0.1 — MIT 10 years ago
zdenekdrahos/bn-php 0.81 PHP library for working with Bangla/Bengali numbers and formatting. Convert between Bengali and Latin numerals, handle digit transformations, and support localization-friendly numeric output for apps needing Bangla numeral representation. 0 0 — 0 — 0.0 — — —
View on GitHub
php-standard-library/math 0.81 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. 1 1 0 20K 0 21.6 64.9 MIT 1 week ago
View on GitHub
laminas/laminas-math 0.81 Laminas Math provides arbitrary-precision integer arithmetic via BCMath or GMP adapters and cryptographically secure random number and string generation. A lightweight PHP utility component for applications needing reliable math and randomness primitives. 25 — 19 — 0 0.3 — BSD-3-Clause 1 year ago
simplito/bn-php 0.80 Arbitrary-precision math for PHP with a clean, minimal API. Provides big integer/decimal operations beyond native limits, suitable for financial calculations, cryptography, and any code needing exact large-number arithmetic and conversions. 20 21 5 109K 0 0.3 51.3 MIT —
View on GitHub
phpseclib/bcmath_compat 0.80 BCMath compatibility layer for PHP environments without the bcmath extension. Provides drop-in function replacements used by phpseclib, helping big integer and cryptography features work consistently across shared hosts, minimal installs, and varied PHP builds. 168 169 5 401K 0 5.3 46.6 MIT 2 years ago
View on GitHub
moontoast/math 0.80 PHP math utilities for Laravel and general use, offering convenient helpers for precise calculations, percentages, rounding, and numeric formatting. Lightweight and easy to integrate into apps where consistent arithmetic and number handling matter. 456 365 7 137K 1 2.3 24.1 Apache-2.0 6 years ago
View on GitHub
php-decimal/php-decimal 0.80 Reference Composer package for the PHP Decimal extension. Adds an implicit ext-decimal dependency, IDE stubs, and semantic versioning so you can require decimal support in your project with composer require php-decimal/php-decimal. 76 78 3 30K 2 0.9 35.7 MIT —
View on GitHub
fab2s/math 0.80 fab2s/math is an object-oriented PHP math library for arbitrary-precision arithmetic. It provides immutable number objects, fluent operations, comparisons, and conversions, making reliable integer and decimal calculations easier across PHP applications. 3 — 1 — 0 14.7 — MIT 3 months ago
litipk/php-bignumbers 0.79 Arbitrary-precision arithmetic for PHP with immutable BigInteger and BigDecimal classes. Perform exact integer and decimal math, comparisons, rounding, and conversions without floating-point precision loss—ideal for money, scientific, and large-number calculations. 129 133 28 12K 16 3.5 24.0 MIT 9 years ago
View on GitHub
pear/math_biginteger 0.79 Pure-PHP arbitrary-precision integer library, the PEAR Math_BigInteger port. Adds, subtracts, multiplies, divides, powers, modPow, gcd, and random generation across bases, with optional GMP/BCMath acceleration. Useful for RSA, crypto, and big-number math without native extension requirements. 22 22 13 53K 0 0.3 32.8 MIT —
View on GitHub
moneyphp/money 0.79 Money PHP is a library for safe, precise monetary handling using value objects instead of floats. It supports string-based big integers, allocation, formatting, ISO currency repositories, and currency exchange, with BCMath and optional GMP. 4,874 4,908 445 6M 1 57.7 48.6 MIT 6 months ago
View on GitHub
Context7
symfony/polyfill-ctype 0.78 Provides ctype_* functions (ctype_alpha, ctype_digit, ctype_alnum, and more) for PHP installations missing the ctype extension, ensuring portable character-type checks across environments. Part of the Symfony Polyfill family. 4,029 4,046 7 17M 0 30.4 54.1 MIT 6 months ago
View on GitHub
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 42K 1 1.6 28.1 BSD-3-Clause 7 years ago
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core