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)7412.0M↓32.5%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 passing

Since May 7Pushed 1mo 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 3d ago

READMEChangelog (3)Dependencies (3)Versions (6)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

57

—

FairBetter than 98% of packages

Maintenance59

Moderate activity, may be stable

Popularity59

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 81.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 ~730 days

Total

4

Last Release

787d 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 (22 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 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.6k465.6M1.5k](/packages/phpseclib-phpseclib)[spomky-labs/otphp

A PHP library for generating one time passwords according to RFC 4226 (HOTP Algorithm) and the RFC 6238 (TOTP Algorithm) and compatible with Google Authenticator

1.5k50.3M168](/packages/spomky-labs-otphp)[paragonie/paseto

Platform-Agnostic Security Tokens

3.4k1.5M22](/packages/paragonie-paseto)[paragonie/ciphersweet

Searchable field-level encryption library for relational databases

4671.4M24](/packages/paragonie-ciphersweet)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

12310.5M135](/packages/web-auth-webauthn-lib)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

515100.5k3](/packages/web-auth-webauthn-framework)

PHPackages © 2026

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