phpstan/phpstan-beberlei-assert
PHPStan extension for beberlei/assert. Adds improved static analysis and type inference for Assert::that and related assertions, helping PHPStan understand refined types after checks and reducing false positives in codebases using beberlei/assert.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpstan/phpstan-nette | 0.87 | PHPStan extension for the Nette Framework providing precise type inference for components, DI container getByType/createInstance, forms, dynamic Html methods, magic properties, and presenters, plus optional rules for regex validation and Nette\Object deprecation. | 118 | 119 | 46 | 227K | 6 | 33.5 | 58.7 | MIT | 3 weeks ago | |
| php-static-analysis/phpstan-extension | 0.87 | A PHPStan extension for PHP projects that adds custom rules and configuration to strengthen static analysis. Integrate it with PHPStan to catch potential issues earlier, enforce coding standards, and improve overall code quality in your development workflow. | 15 | 15 | 0 | 2K | 0 | 0.1 | 30.0 | MIT | 1 year ago | |
| phpstan/phpstan-mockery | 0.87 | PHPStan extension for Mockery: infers intersection types for mocks (Foo&MockInterface), understands shouldReceive/shouldHaveReceived/allows/expects, supports partial/alias/overload mocks, multiple interfaces, and proper constructor args for accurate static analysis. | 110 | 107 | 25 | 1M | 8 | 9.4 | 57.8 | MIT | 1 year ago | |
| beberlei/assert | 0.87 | A simple PHP library of assertions and guard methods for fast, low-level input validation in business models, libraries, and application code. Failed assertions throw exceptions, eliminating if-clauses. Install via Composer: composer require beberlei/assert. | 2,427 | 2,460 | 186 | 2M | 30 | 50.3 | 64.1 | NOASSERTION | 4 months ago | |
| phpstan/phpstan-webmozart-assert | 0.87 | 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/phpstan | 0.86 | 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 | 4 days ago | |
| soyhuce/phpstan-extension | 0.86 | A PHPStan extension from Soyhuce that adds custom rules and type extensions for Laravel and PHP projects, helping teams catch bugs earlier and improve static analysis accuracy in CI and local development. | 1 | — | 1 | — | 0 | 0.9 | 1.5 | MIT | 1 year ago | |
| phpstan/phpstan-phpunit | 0.86 | PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. | 546 | 550 | 58 | 6M | 34 | 44.3 | 79.3 | MIT | 1 month ago | |
| symplify/phpstan-extensions | 0.86 | Extra PHPStan rules and extensions from Symplify to improve static analysis of PHP projects. Adds better type inference and framework-aware checks, helping catch bugs earlier and keep codebases consistent with minimal configuration. | 39 | 39 | 5 | 281K | 0 | 0.4 | 53.1 | MIT | — | |
| phpstan/phpstan-php-parser | 0.86 | PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. | 23 | 23 | 8 | 19K | 1 | 0.3 | 28.3 | — | 4 years ago | |
| phpstan/phpstan-strict-rules | 0.86 | Extra strict, opinionated PHPStan rules for defensive, strongly typed PHP: require booleans in conditions, strict function-call flags, numeric arithmetic operands, matching switch types, no useless casts, and safer loop variable handling. | 714 | 721 | 63 | 5M | 35 | 45.9 | 75.1 | MIT | 5 days ago | |
| pepakriz/phpstan-exception-rules | 0.86 | PHPStan extension that adds custom rules for analyzing exceptions. It helps catch improper throwing/catching, missing @throws annotations, and other exception-related issues to improve correctness and maintainability in PHP codebases. | 109 | 111 | 10 | 4K | 8 | 12.1 | 24.3 | — | 4 years ago | |
| shipmonk/phpstan-rules | 0.85 | ShipMonk PHPStan strict rules adds about 40 opinionated, super-strict checks beyond native PHPStan, targeting gaps like unsafe comparisons, casts, and array keys. Install via Composer, include rules.neon, and disable or reconfigure any rule per project. | 156 | 158 | 23 | 376K | 1 | 30.2 | 55.9 | MIT | 1 month ago | |
| ergebnis/phpstan-rules | 0.85 | A Composer package of PHPStan rules from ergebnis, bundled in rules.neon and auto-included via phpstan/extension-installer. Adds stricter checks such as final classes, forbidden extends, and no named arguments to complement PHPStan core and strict rules. | 461 | 463 | 23 | 649K | 1 | 32.5 | 51.0 | MIT | 1 week ago | |
| eliashaeussler/phpstan-config | 0.85 | Opinionated PHPStan configuration presets and extensions by Elias Häußler. Drop-in rules and baseline settings to standardize static analysis across projects, reduce false positives, and improve code quality with minimal setup for common PHP/Laravel workflows. | 2 | 2 | 0 | 12K | 1 | 9.9 | 51.9 | GPL-3.0 | 10 months ago | |
| shipmonk/phpstan-dev | 0.85 | Utilities for developing PHPStan rules: write expected errors directly in fixture files using // error: comments and avoid brittle line-number assertions. Includes an autofix mode to generate/update inline error comments during rule development. | 7 | 7 | 1 | 6K | 1 | 7.2 | 41.5 | MIT | 9 months ago | |
| localheinz/phpstan-rules | 0.85 | A Composer package of PHPStan rules from ergebnis that enforce stricter coding standards, covering areas like final classes, named arguments, and class extension. Install via Composer and include rules.neon, or let phpstan/extension-installer handle it automatically. Best layered on top of PHPStan's... | 462 | 462 | 23 | 382 | 1 | 32.5 | 4.2 | MIT | 1 week ago | |
| phpstan/extension-installer | 0.84 | 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 | |
| eloquent/phpstan-phony | 0.84 | — | 5 | 5 | 4 | 197 | 0 | 1.7 | 15.2 | MIT | 5 years ago | |
| phpstan/phpstan-symfony | 0.84 | PHPStan extension for Symfony that provides accurate return types for the container, controllers, requests, responses, forms, serializer, cache, and other framework APIs, helping catch bugs earlier and improving static analysis in Symfony projects. | 806 | 809 | 107 | 4M | 60 | 55.2 | 86.3 | MIT | 1 week ago |
How can I help you explore Laravel packages today?