php-decimal/stubs
IDE and static analysis stubs for the PHP Decimal extension. Provides PHP method/function signatures to improve autocompletion and type checking without requiring the extension source. For installing the actual extension, see php-decimal/php-decimal.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-decimal/php-decimal | 0.83 | 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 | — | |
| php-units-of-measure/php-units-of-measure | 0.81 | PHP library for representing physical quantities and converting units (length, mass, etc.). Encapsulate values with their unit, convert via toUnit(), and accept quantities in any unit without hardcoding conversions. Composer install, PSR-4 autoloading. | 313 | 314 | 79 | 135K | 12 | 8.1 | 41.1 | MIT | 1 year ago | |
| 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 | |
| jetbrains/phpstorm-attributes | 0.80 | JetBrains PhpStorm attributes provide PHP 8 attributes for richer code completion and analysis in PhpStorm, including Deprecated, ArrayShape, ObjectShape, and Immutable. Bundled with PhpStorm; add as a dev dependency for other static analysis tools. | 415 | 414 | 11 | 490K | 7 | 21.2 | 50.2 | Apache-2.0 | 2 months ago | |
| phpmetrics/phpmetrics | 0.80 | PhpMetrics is a static analysis tool for PHP that computes metrics for projects and classes and generates beautiful, readable HTML reports. Install it via Composer, run the binary against any folder, and explore complexity, maintainability, and quality insights right in your browser. | 2,617 | 2,620 | 261 | 444K | 2 | 46.4 | 35.8 | MIT | 2 months ago | |
| phpstan/extension-installer | 0.80 | Composer plugin that automatically discovers and installs PHPStan extensions, eliminating manual includes in phpstan.neon. Add it as a dev dependency, allow the plugin in Composer, and extensions can declare includes via extra.phpstan for auto-setup. | 516 | 520 | 31 | 6M | 1 | 8.2 | 55.2 | MIT | 2 years ago | |
| phpstan/phpstan-webmozart-assert | 0.80 | PHPStan extension for webmozart/assert that teaches PHPStan how Assert::* calls narrow types. Supports many assertions (including nullOr*/all*) so values become non-null, specific scalars, instances, arrays, etc. after validation, improving static analysis accuracy. | 185 | 185 | 33 | 639K | 5 | 12.3 | 50.1 | MIT | 1 year ago | |
| phpstan/php-8-stubs | 0.80 | Stub files for PHP 8 built-in functions, classes, and extensions, maintained for PHPStan. Improves static analysis and type inference by providing accurate signatures and phpDoc where native reflection is incomplete or inconsistent. | 31 | 31 | 12 | 333K | 3 | 30.2 | 65.5 | MIT | 1 week ago | |
| zdenekdrahos/bn-php | 0.80 | 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 | — | — | — | |
| kwn/php-rdkafka-stubs | 0.80 | IDE helper stubs for php-rdkafka (librdkafka) extension. Adds classes, methods and constants for Kafka producers/consumers to improve autocompletion and static analysis in PHP projects without requiring the extension at dev time. | 151 | 154 | 35 | 74K | 3 | 17.3 | 42.3 | MIT | 7 months ago | |
| yuwuhsien/laravel-bcmath-cast | 0.80 | 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.7 | 44.2 | MIT | 3 months ago | |
| jetbrains/phpstorm-stubs | 0.79 | Official JetBrains stubs provide syntactically correct PHP function and class signatures, constants, and detailed PHPDoc for built-in PHP and most standard extensions. They power IDE completion, code inspection, type inference, and documentation popups in PhpStorm and other tools. | 1,397 | 1,373 | 824 | 2M | 0 | 43.3 | 50.8 | Apache-2.0 | 3 months ago | |
| moontoast/math | 0.79 | 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 | |
| php-standard-library/math | 0.79 | 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 | |
| slam/phpstan-extensions | 0.79 | PHPStan extensions with extra strict rules: unused variables, closure parameter typehints, enforce ::class notation, forbid goto, naming conventions, validate PHPUnit annotation FQCNs, and restrict access to globals/static properties in specific contexts. | 71 | 72 | 13 | 42K | 2 | 21.8 | 43.2 | MIT | 5 months ago | |
| phpstan/phpstan | 0.79 | PHPStan is a PHP static analysis tool that finds bugs in your code without running it. It catches whole classes of errors before tests are written, bringing compiled-language-style correctness checks to PHP projects. | 14,147 | 14,221 | 972 | 19M | 1,056 | 94.9 | 77.1 | MIT | 3 days ago | |
| empi89/php-amqp-stubs | 0.79 | Provides PHP stub files for AMQP-related extensions, improving IDE autocomplete, static analysis, and type hints in projects that use AMQP functions/classes without bundling the actual extension. Useful for CI, analysis, and editor support. | 3 | 4 | 8 | 2K | 0 | 0.4 | 36.6 | — | — | |
| assoconnect/php-percent | 0.79 | Small PHP library to represent and work with percentages in a way that pairs well with MoneyPHP, based on Frederik Bosch’s proposal. Install via Composer and use the PHPDoc-documented API to apply percent calculations safely alongside Money values. | 2 | 2 | 0 | 703 | 0 | 12.9 | 36.0 | MIT | 8 months ago | |
| brick/math | 0.79 | 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 | |
| roave/no-floaters | 0.79 | PHPStan plugin that bans floats: no float properties, parameters, return types, or assigning float values. Optional strict mode disallows any float-producing expression. Helps prevent rounding errors in domains like money, grading, or scientific calculations. | 215 | 217 | 13 | 12K | 2 | 18.4 | 27.7 | MIT | 5 months ago |
How can I help you explore Laravel packages today?