phpseclib/phpseclib2_compat
A compatibility layer that lets phpseclib 2.0 code run unchanged on phpseclib 3.0, providing namespaced shims for legacy classes and methods so existing projects can upgrade the underlying library without rewriting cryptographic code.
phpseclib\Crypt\* usage, especially SSH/SFTP, RSA, or AES calls spread across jobs, commands, and services.2026-06-14) relative to this review. The shim may not cover all phpseclib 2 APIs or behavioral edge cases. Crypto correctness still depends on phpseclib 3.x, but compatibility gaps can create subtle failures in key handling, signatures, SSH negotiation, or exception flows.phpseclib/phpseclib:^2. Confirm key formats, cipher defaults, and exception classes match legacy behavior.How can I help you explore Laravel packages today?