PHPackages                             paragonie/hidden-string - 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. [Security](/categories/security)
4. /
5. paragonie/hidden-string

ActiveLibrary[Security](/categories/security)

paragonie/hidden-string
=======================

Encapsulate strings in an object to hide them from stack traces

v2.2.0(2y ago)7410.6M—3.1%5[2 issues](https://github.com/paragonie/hidden-string/issues)[1 PRs](https://github.com/paragonie/hidden-string/pulls)20MPL-2.0PHPPHP ^7.4|^8CI failing

Since May 7Pushed 2y ago4 watchersCompare

[ Source](https://github.com/paragonie/hidden-string)[ Packagist](https://packagist.org/packages/paragonie/hidden-string)[ Docs](https://github.com/paragonie/hidden-string)[ RSS](/packages/paragonie-hidden-string/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (20)

HiddenString
============

[](#hiddenstring)

[![Build Status](https://github.com/paragonie/hidden-string/actions/workflows/ci.yml/badge.svg)](https://github.com/paragonie/hidden-string/actions)[![Psalm Status](https://github.com/paragonie/hidden-string/actions/workflows/static.yml/badge.svg)](https://github.com/paragonie/hidden-string/actions)[![Latest Stable Version](https://camo.githubusercontent.com/a1018577c14cc4e882c5ed0a0d3c5f1c88abf7392e9c35fd24aea954be755dab/68747470733a2f2f706f7365722e707567782e6f72672f70617261676f6e69652f68696464656e2d737472696e672f762f737461626c65)](https://packagist.org/packages/paragonie/hidden-string)[![Latest Unstable Version](https://camo.githubusercontent.com/f66e9ebae6f648480f6d05d360ba1ec148c714ec69e87e7538031f0d12cd3ecb/68747470733a2f2f706f7365722e707567782e6f72672f70617261676f6e69652f68696464656e2d737472696e672f762f756e737461626c65)](https://packagist.org/packages/paragonie/hidden-string)[![License](https://camo.githubusercontent.com/1f8a526128323aa512a1147aa4a6d136a15166010023b1764248bbdc1972c807/68747470733a2f2f706f7365722e707567782e6f72672f70617261676f6e69652f68696464656e2d737472696e672f6c6963656e7365)](https://packagist.org/packages/paragonie/hidden-string)[![Downloads](https://camo.githubusercontent.com/6a4c3643f636c5171b629d010b6c0449c16ab680473aee9d67e42ce737eb6044/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70617261676f6e69652f68696464656e2d737472696e672e737667)](https://packagist.org/packages/paragonie/hidden-string)

This package extracts the HiddenString class originally used in [Halite](https://github.com/paragonie/halite). **Requires PHP 7 or newer.**

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity59

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 84% 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 ~730 days

Total

4

Last Release

740d ago

Major Versions

v1.1.0 → v2.0.02020-12-06

PHP version history (3 changes)v1.0.0PHP ^7

v1.1.0PHP ^7|^8

v2.0.0PHP ^7.4|^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/05d241256cda885139a5697d3bb536b5cec3b430c1adb9c524bf92a37a55758d?d=identicon)[paragonie-scott](/maintainers/paragonie-scott)

---

Top Contributors

[![paragonie-security](https://avatars.githubusercontent.com/u/15914520?v=4)](https://github.com/paragonie-security "paragonie-security (21 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (3 commits)")[![SignpostMarv](https://avatars.githubusercontent.com/u/304403?v=4)](https://github.com/SignpostMarv "SignpostMarv (1 commits)")

---

Tags

stringhiddenstack trace

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/paragonie-hidden-string/health.svg)

```
[![Health](https://phpackages.com/badges/paragonie-hidden-string/health.svg)](https://phpackages.com/packages/paragonie-hidden-string)
```

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[paragonie/paseto

Platform-Agnostic Security Tokens

3.4k1.3M18](/packages/paragonie-paseto)[paragonie/ciphersweet

Searchable field-level encryption library for relational databases

4641.2M21](/packages/paragonie-ciphersweet)[paragonie/certainty

Up-to-date, verifiable repository for Certificate Authorities

2642.4M20](/packages/paragonie-certainty)[paragonie/anti-csrf

Paragon Initiative's Anti-CSRF Security Library

307200.6k5](/packages/paragonie-anti-csrf)[firehed/security

Security tools for PHP

2374.9k2](/packages/firehed-security)

PHPackages © 2026

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