PHPackages                             re2bit/secrets - 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. re2bit/secrets

AbandonedArchivedLibrary[Security](/categories/security)

re2bit/secrets
==============

Core PHP Library for encrypting secrets, based on libsodium

1.0.0-alpha.1.1(1y ago)151BSDPHPPHP ^7|^8

Since Jun 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/re2bit/secrets)[ Packagist](https://packagist.org/packages/re2bit/secrets)[ RSS](/packages/re2bit-secrets/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (1)

PHP 7.0 Compatible Secrets Management Library
=============================================

[](#php-70-compatible-secrets-management-library)

This library offers a secure way to manage sensitive information, inspired by the Symfony Secrets feature. It's designed for PHP 7.0 compatibility, leveraging modern cryptography with the Sodium extension or `paragonie/sodium_compat`.

Requirements
------------

[](#requirements)

- PHP 7.0 or newer
- Sodium PHP extension or `paragonie/sodium_compat`

### Setting Up

[](#setting-up)

Ensure you have the Sodium extension enabled or `paragonie/sodium_compat` installed.

License
-------

[](#license)

This package is available under MIT.

Acknowledgments
---------------

[](#acknowledgments)

This library is based and inspired by the work of:

- Tobias Schultze
- Jérémy Derussé
- Nicolas Grekas

from the Symfony framework. It has been adapted for PHP 7.0 with a focus on using Sodium for encryption.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~12 days

Total

2

Last Release

700d ago

### Community

Maintainers

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

---

Top Contributors

[![re2bit](https://avatars.githubusercontent.com/u/12475481?v=4)](https://github.com/re2bit "re2bit (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/re2bit-secrets/health.svg)

```
[![Health](https://phpackages.com/badges/re2bit-secrets/health.svg)](https://phpackages.com/packages/re2bit-secrets)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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