phpseclib/bcmath_compat
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| simplito/bigint-wrapper-php | 0.84 | Lightweight PHP wrapper for working with big integers safely beyond native limits. Provides convenient object-style operations for arithmetic, comparisons, and formatting, helping avoid overflow issues when handling large numeric IDs, counters, or financial values. | 14 | 15 | 7 | 141K | 3 | 1.2 | 55.8 | MIT | — | |
| spomky-labs/cbor-php | 0.84 | RFC 8949 CBOR encoder/decoder for PHP 8+. Supports all major types, tags, indefinite-length items, streaming decoding, and normalization to native PHP types. Extensible tag system with built-in common tags and modern, type-safe API. | 61 | 61 | 14 | 8M | 1 | 24.7 | 64.5 | MIT | 1 month ago | |
| phpseclib/mcrypt_compat | 0.84 | PHP 5.x–8.x polyfill for the deprecated mcrypt extension. Provides common ciphers (Rijndael/AES variants, DES, Blowfish, RC2, 3DES, ARCFOUR) and modes (CBC, CFB, CTR, ECB, OFB, stream). Can emulate older PHP mcrypt behavior. | 284 | 286 | 62 | 679K | 5 | 21.6 | 52.0 | MIT | 6 months ago | |
| php-standard-library/math | 0.83 | 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 | |
| zdenekdrahos/bn-php | 0.83 | 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 | — | — | — | |
| brick/math | 0.83 | brick/math is a PHP library for arbitrary precision arithmetic. It provides BigInteger, BigDecimal, BigRational, and BigNumber classes, automatically using GMP or BCMath when available for fast, exact calculations. | 2,180 | 2,182 | 102 | 16M | 0 | 43.5 | 61.7 | MIT | 1 month ago | |
| moontoast/math | 0.83 | 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 | |
| globalcitizen/php-iban | 0.82 | Parse, validate and generate IBAN/IIBAN bank details in PHP. Extract country codes, checksums, bank and branch codes, verify legacy national checksums, convert formats, obfuscate and get correction suggestions for mistyped input. Includes example IBANs per country. | 510 | 509 | 107 | 202K | 6 | 33.9 | 43.3 | LGPL-3.0 | 1 month ago | |
| phpseclib/phpseclib2_compat | 0.82 | A compatibility layer that lets phpseclib 2.0 code run unchanged on phpseclib 3.0, providing namespaced shims for legacy classes and methods so existing projects can upgrade the underlying library without rewriting cryptographic code. | 12 | 12 | 7 | 99K | 0 | 20.4 | 63.1 | MIT | 5 days ago | |
| php-decimal/php-decimal | 0.82 | 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 | — | |
| phpseclib/phpseclib | 0.82 | phpseclib is an MIT-licensed pure-PHP secure communications library implementing SSH-2, SFTP, X.509, RSA (PKCS#1 v2.2), DSA/DH, ECDSA/ECDH with 66 curves, Ed25519/Curve25519, AES, DES, ChaCha20, GCM/Poly1305, arbitrary-precision integers and more, with no required PHP extensions. | 5,603 | 5,718 | 909 | 17M | 101 | 93.4 | 81.5 | MIT | 1 month ago | |
| pear/math_biginteger | 0.82 | 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 | — | |
| litipk/php-bignumbers | 0.82 | 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 | |
| yuwuhsien/laravel-bcmath-cast | 0.82 | Laravel Eloquent casts for PHP 8.4's BCMath\Number object, turning model attributes into arbitrary-precision decimals so you can use natural operators like +, -, and * directly while keeping money math exact. Requires PHP 8.4+ and Laravel 12+. | 2 | 2 | 0 | 2K | 0 | 15.6 | 44.6 | MIT | 3 months ago | |
| codeconsortium/ccdn-component-bb-code | 0.82 | CCDNComponent BBCode Library for Laravel/PHP projects. Provides a BBCode parsing component to convert forum-style tags into HTML, intended for integrating rich text formatting in applications. | 0 | 1 | 3 | 0 | 0 | 0.1 | — | — | — | |
| nanasess/bcmath-polyfill | 0.82 | 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. | 2 | 2 | 0 | 22K | 3 | 18.5 | 63.7 | MIT | 1 month ago | |
| indigophp/hash-compat | 0.82 | Provides a hash_equals() polyfill for PHP versions older than 5.6, where the native timing-attack-safe string comparison function isn't available. A small compatibility shim for legacy projects. | 25 | — | 2 | — | 2 | 0.3 | — | MIT | 11 years ago |
|
| simplito/bn-php | 0.82 | 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 | — | |
| laminas/laminas-math | 0.82 | 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 |
|
| interop-phpobjects/polite-math | 0.82 | — | 1 | 1 | 0 | 32K | 0 | 2.4 | 55.3 | MIT | 2 years ago |
How can I help you explore Laravel packages today?