hectorj/safe-php-psalm-plugin
A Psalm plugin for thecodingmachine/safe that flags calls to PHP functions with safe replacements, helping you migrate to exception-throwing versions and catch unchecked return values during static analysis. Drop it into your existing Psalm config to enforce safer PHP in CI.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| fp4php/functional-psalm-plugin | 0.87 | Psalm plugin for fp4php/functional that improves static analysis of functional PHP code. It helps Psalm understand the library’s types and higher-order helpers, improving inference and catching type errors in collections, option/either workflows, and functional pipelines. | 1 | — | 0 | — | 0 | 0.0 | — | MIT | 3 years ago |
|
| php-static-analysis/psalm-plugin | 0.86 | A Psalm plugin for PHP static analysis that extends Psalm with additional checks and integrations, helping teams catch issues earlier and enforce consistent code quality in their projects. | 2 | 2 | 0 | 2K | 0 | 0.0 | 39.5 | MIT | 1 year ago | |
| vimeo/psalm | 0.86 | Psalm is a static analysis tool for PHP that finds type errors, bugs, and unsafe code before runtime. It offers configurable strictness, baseline support, and CI integration to help teams catch issues early and improve code quality. | 5,897 | 5,914 | 725 | 2M | 1,898 | 91.7 | 69.1 | MIT | 6 days ago | |
| thecodingmachine/phpstan-safe-rule | 0.85 | PHPStan rule that detects calls to unsafe core PHP functions and suggests the thecodingmachine/safe variants, which throw exceptions instead of returning false on error. Helps catch unsafe function usage during static analysis. | 63 | 62 | 26 | 319K | 3 | 20.1 | 57.0 | — | 4 months ago | |
| psalm/psalm-plugin-api | 0.85 | Psalm plugin API providing interfaces and helpers to build and integrate custom plugins with the Psalm static analysis tool, enabling extensions such as new checks, type providers, and project-specific analysis behavior. | 1 | 0 | 0 | 262K | 0 | 0.0 | 55.3 | — | — | |
| php-standard-library/psalm-plugin | 0.85 | Psalm plugin for PHP Standard Library (PSL) that improves static analysis of PSL Type specifications. It gives Psalm precise inferred types for shapes and coerce results, such as exact array shapes instead of broad unions. Install with Composer as a dev dependency and enable via psalm-plugin. | 25 | 25 | 7 | 39K | 1 | 12.5 | 46.6 | MIT | 7 months ago | |
| phariscope/safephp | 0.84 | SafePHP provides safer, predictable replacements for common risky PHP operations, helping developers avoid warnings, fatal errors, and security pitfalls. It offers consistent error handling and simple helpers for writing more robust PHP applications. | 0 | — | 0 | — | 0 | 0.0 | — | MIT | 1 year ago |
|
| boesing/psalm-plugin-stringf | 0.84 | A Psalm plugin that statically validates printf and sprintf format strings, checking that placeholders match the number and types of arguments passed. Mismatches are caught during analysis instead of at runtime, using Psalm's type inference to verify format specifiers across your codebase. | 12 | — | 2 | — | 6 | 2.7 | 5.3 | NOASSERTION | 3 years ago |
|
| psalm/plugin-symfony | 0.84 | Psalm plugin for Symfony that improves static analysis by inferring container, parameter, console, Doctrine repository, Request, HeaderBag, and Messenger types, plus Symfony taint analysis and service/parameter naming checks. | 242 | 241 | 68 | 252K | 33 | 42.5 | 61.7 | MIT | 3 days ago | |
| psalm/plugin-laravel | 0.84 | Laravel static analysis with built-in taint-based security scanning: traces user input from request to sink to catch SQL injection, XSS, shell injection, file traversal, SSRF, open redirects and timing-unsafe secret comparisons. Runs locally and in CI, no account or cloud upload. | 346 | 346 | 79 | 142K | 103 | 59.0 | 69.7 | MIT | 1 week ago | |
| psalm/plugin-phpunit | 0.83 | A Psalm plugin for PHPUnit that improves static analysis of test suites by teaching Psalm about PHPUnit-specific APIs, assertions, and mocking. Install with Composer, enable via psalm-plugin, and get more accurate type checking in your tests. Requires Psalm v4 or later. | 78 | 79 | 38 | 368K | 21 | 37.2 | 67.2 | — | 2 weeks ago | |
| weirdan/doctrine-psalm-plugin | 0.83 | A Doctrine plugin for Psalm (v4/v5) that improves static analysis of Doctrine entities and repositories through better type inference. Install via Composer, then enable it with the psalm-plugin command. | 86 | 89 | 45 | 119K | 29 | 39.5 | 63.9 | — | 2 weeks ago | |
| fp4php/psalm-toolkit | 0.83 | A toolkit of Psalm extensions and plugins for stricter, more accurate static analysis in PHP projects. Adds extra checks and type inference to catch bugs earlier, with configuration that fits into existing Psalm setups and CI pipelines. | 4 | — | 0 | — | 0 | 0.0 | — | MIT | 3 years ago |
|
How can I help you explore Laravel packages today?