Ross ROSS = Recommend OSS · open-source software intelligence for agents

defuse/php-encryption

Simple Encryption in PHP. observed · 2026-08-28

github.com/defuse/php-encryption · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4591
  • days_rel: n/a
  • days_push: 974
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3867 stars · 314 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A PHP library for symmetric encryption of strings and files using a key or password, built on OpenSSL. Its API is deliberately designed to be easy to use securely and hard to misuse.

Use cases

  • encrypt sensitive data in a PHP application
  • encrypt files with a key in PHP
  • password-protect data in PHP
  • avoid writing insecure PHP encryption code
  • store encrypted user data with a password-derived key

When to choose

  • you need straightforward, well-audited symmetric encryption in PHP
  • you want an API that resists common crypto mistakes
  • you need both key-based and password-based encryption including file encryption

When to avoid

  • you need asymmetric/public-key encryption
  • you are on a modern stack where libsodium (sodium_crypto) is available
  • you need advanced features like streaming encryption of very large files or key rotation

Facets

library · maturity maintenance

cryptography security security developer-tools web-development php cross-platform symmetric-encryption password-based-encryption openssl hard-to-misuse file-encryption web-server

1 source

Member repositories

RepositoryRoleHealth v2
defuse/php-encryptionmain23

For agents

markdown · JSON · MCP: product_card(name="defuse/php-encryption")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem