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

phpseclib/phpseclib

PHP Secure Communications Library observed · 2026-08-28

github.com/phpseclib/phpseclib · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

99/100

  • Activity 99
  • Release rhythm 99
  • Longevity 100
How is this computed?

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

  • gap_med: 0.0
  • age_days: 5202
  • days_rel: 7
  • days_push: 7
  • n_releases_24m: 33

Full methodology

Adoption not part of the score

5585 stars · 907 forks observed · 2026-08-28

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

A MIT-licensed pure-PHP library providing implementations of SSH-2, SFTP, X.509/CSR/CRL/PFX/CMS, and a wide range of cryptographic primitives including RSA, ECDSA, Ed25519, AES, and ChaCha20-Poly1305. It requires no PHP extensions, optionally using OpenSSL, GMP, or libsodium for speed, with multiple LTS branches supporting PHP from 4.4 to 8.1+.

Use cases

  • connect to ssh servers from php
  • upload files over sftp in php
  • encrypt and decrypt data with rsa in php
  • generate and parse x509 certificates
  • sign and verify jwt-like signatures with ed25519
  • encrypt files with aes-gcm or chacha20-poly1305
  • create certificate signing requests (csr)
  • interoperate with openssl, java, or python crypto

When to choose

  • you need SSH/SFTP or PKI functionality in PHP without relying on shell exec or extensions
  • you need portability across shared hosts where openssl/gmp may be unavailable
  • you need fine-grained control over crypto parameters like OAEP hashes or cipher modes
  • you need to support old PHP versions via the 1.0/2.0/3.0 LTS branches

When to avoid

  • you only need basic TLS/HTTPS - use curl or guzzle instead
  • you need a full SSH client with terminal emulation or port forwarding - use openssh
  • you need maximum crypto performance and can require the openssl extension directly
  • you need languages other than PHP

Facets

library · maturity stable

cryptography ssh security serialization security developer-tools web-development php cross-platform ssh2 sftp x509 rsa aes pure-php pki asn1 elliptic-curves

10 sources

Member repositories

RepositoryRoleHealth v2
phpseclib/phpseclibmain99

For agents

markdown · JSON · MCP: product_card(name="phpseclib/phpseclib")

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