PHPackages                             hectorj/safe-php-psalm-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. hectorj/safe-php-psalm-plugin

ActivePsalm-plugin[Validation &amp; Sanitization](/categories/validation)

hectorj/safe-php-psalm-plugin
=============================

vimeo/psalm plugin for thecodingmachine/safe

v1.4.0(4y ago)9102.7k31MITPHPPHP ^7.4 || ^8.0CI failing

Since Mar 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hectorj/safe-php-psalm-plugin)[ Packagist](https://packagist.org/packages/hectorj/safe-php-psalm-plugin)[ RSS](/packages/hectorj-safe-php-psalm-plugin/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (1)

hectorj/safe-php-psalm-plugin
=============================

[](#hectorjsafe-php-psalm-plugin)

This is a [vimeo/psalm](https://github.com/vimeo/psalm) plugin for [thecodingmachine/safe](https://github.com/thecodingmachine/safe).

It applies some Psalm's core functions stubs to their safe versions.

Not all functions `thecodingmachine/safe` are supported yet. If you have a specific need, don't hesitate to open an issue or a PR.

Installation
------------

[](#installation)

```
composer require --dev hectorj/safe-php-psalm-plugin

```

And add the plugin to your `psalm.xml`:

```

```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 56.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~195 days

Total

5

Last Release

1504d ago

PHP version history (2 changes)1.0.0PHP ^7.4

v1.3.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c660a19aa95483c2d459cc662b05794683c11542e7b838e6a7f6709267390a3e?d=identicon)[hectorj](/maintainers/hectorj)

---

Top Contributors

[![hectorj](https://avatars.githubusercontent.com/u/2427959?v=4)](https://github.com/hectorj "hectorj (13 commits)")[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (8 commits)")[![LeoVie](https://avatars.githubusercontent.com/u/7249788?v=4)](https://github.com/LeoVie "LeoVie (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hectorj-safe-php-psalm-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/hectorj-safe-php-psalm-plugin/health.svg)](https://phpackages.com/packages/hectorj-safe-php-psalm-plugin)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k28.9M2.4k](/packages/infection-infection)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k211.0M75](/packages/sabberworm-php-css-parser)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[keepsuit/laravel-opentelemetry

OpenTelemetry integration for laravel

167558.4k1](/packages/keepsuit-laravel-opentelemetry)[firefly-iii/data-importer

Firefly III Data Import Tool.

8045.8k](/packages/firefly-iii-data-importer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
