phpseclib/phpseclib
Composer 安装命令:
composer require phpseclib/phpseclib
包简介
PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.
关键字:
README 文档
README
Supporting phpseclib
- Become a backer or sponsor on Patreon
- One-time donation via PayPal or crypto-currencies
- Subscribe to Tidelift
Introduction
MIT-licensed pure-PHP implementations of the following:
SSH-2, SFTP, X.509, an arbitrary-precision integer arithmetic library, Ed25519 / Ed449 / Curve25519 / Curve449, ECDSA / ECDH (with support for 66 curves), RSA (PKCS#1 v2.2 compliant), DSA / DH, DES / 3DES / RC4 / Rijndael / AES / Blowfish / Twofish / Salsa20 / ChaCha20, GCM / Poly1305
Documentation
- Documentation / Manual
- API Documentation (generated by Doctum)
Branches
master
- Development Branch
- Unstable API
- Do not use in production
4.0
- Expected Release Date: September 2026
- Long term support (LTS) release
- X509 split into separate X509, CRL, CSR and SPKAC classes
- PFX and CMS classes added
- All ASN1 classes are lazy loaded by default
- Minimum PHP version: 8.1.0
- PSR-4 autoloading with namespace rooted at
\phpseclib4 - Install via Composer:
composer require phpseclib/phpseclib:4.0.x-dev
3.0
- Long term support (LTS) release
- Major expansion of cryptographic primitives
- Minimum PHP version: 5.6.1
- PSR-4 autoloading with namespace rooted at
\phpseclib3 - Install via Composer:
composer require phpseclib/phpseclib:~3.0
2.0
- Long term support (LTS) release
- Modernized version of 1.0
- Minimum PHP version: 5.3.3
- PSR-4 autoloading with namespace rooted at
\phpseclib - Install via Composer:
composer require phpseclib/phpseclib:~2.0
1.0
- Long term support (LTS) release
- PHP4 compatible
- Composer compatible (PSR-0 autoloading)
- Install using Composer:
composer require phpseclib/phpseclib:~1.0 - Download 1.0.25 as ZIP
Security contact information
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
Support
Need Support?
Special Thanks
Additional Thanks
- Allan Simon
- Anna Filina
- delovelady
- ChargeOver
Contributing
-
Fork the Project
-
Ensure you have Composer installed (see Composer Download Instructions)
-
Install Development Dependencies
composer install
-
Create a Feature Branch
-
Run continuous integration checks:
composer run-script all-quality-tools
-
Send us a Pull Request
phpseclib/phpseclib 适用场景与选型建议
phpseclib/phpseclib 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 467.76M 次下载、GitHub Stars 达 5.57k, 最近一次更新时间为 2012 年 06 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「security」 「cryptography」 「ssh」 「encryption」 「blowfish」 「crypto」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 phpseclib/phpseclib 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 phpseclib/phpseclib 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 phpseclib/phpseclib 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
DUKPT implementation in PHP
Provide a way to secure accesses to all routes of an symfony application.
A flexible FTP, SSL-FTP, and SSH-based SFTP client for PHP. This lib provides helpers that are easy to use to manage the remote files.
A library for reading KeePass 2.x databases
Altax is an extensible deployment tool for PHP.
It's a barebone security class written on PHP
统计信息
- 总下载量: 467.76M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5686
- 点击次数: 39
- 依赖项目数: 1427
- 推荐数: 48
其他信息
- 授权协议: MIT
- 更新时间: 2012-06-10