Rev 1448 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
827 | daniel-mar | 1 | # phpseclib - PHP Secure Communications Library |
2 | |||
874 | daniel-mar | 3 | [![CI Status](https://github.com/phpseclib/phpseclib/actions/workflows/ci.yml/badge.svg?branch=3.0&event=push "CI Status")](https://github.com/phpseclib/phpseclib) |
827 | daniel-mar | 4 | |
5 | ## Supporting phpseclib |
||
6 | |||
7 | - [Become a backer or sponsor on Patreon](https://www.patreon.com/phpseclib) |
||
8 | - [One-time donation via PayPal or crypto-currencies](http://sourceforge.net/donate/index.php?group_id=198487) |
||
9 | - [Subscribe to Tidelift](https://tidelift.com/subscription/pkg/packagist-phpseclib-phpseclib?utm_source=packagist-phpseclib-phpseclib&utm_medium=referral&utm_campaign=readme) |
||
10 | |||
11 | ## Introduction |
||
12 | |||
13 | MIT-licensed pure-PHP implementations of the following: |
||
14 | |||
15 | 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 |
||
16 | |||
17 | * [Browse Git](https://github.com/phpseclib/phpseclib) |
||
18 | |||
19 | ## Documentation |
||
20 | |||
21 | * [Documentation / Manual](https://phpseclib.com/) |
||
874 | daniel-mar | 22 | * [API Documentation](https://api.phpseclib.com/3.0/) (generated by Doctum) |
827 | daniel-mar | 23 | |
24 | ## Branches |
||
25 | |||
26 | ### master |
||
27 | |||
28 | * Development Branch |
||
29 | * Unstable API |
||
30 | * Do not use in production |
||
31 | |||
32 | ### 3.0 |
||
33 | |||
34 | * Long term support (LTS) release |
||
35 | * Major expansion of cryptographic primitives |
||
36 | * Minimum PHP version: 5.6.1 |
||
37 | * PSR-4 autoloading with namespace rooted at `\phpseclib3` |
||
38 | * Install via Composer: `composer require phpseclib/phpseclib:~3.0` |
||
39 | |||
40 | ### 2.0 |
||
41 | |||
42 | * Long term support (LTS) release |
||
43 | * Modernized version of 1.0 |
||
44 | * Minimum PHP version: 5.3.3 |
||
45 | * PSR-4 autoloading with namespace rooted at `\phpseclib` |
||
46 | * Install via Composer: `composer require phpseclib/phpseclib:~2.0` |
||
47 | |||
48 | ### 1.0 |
||
49 | |||
50 | * Long term support (LTS) release |
||
51 | * PHP4 compatible |
||
52 | * Composer compatible (PSR-0 autoloading) |
||
53 | * Install using Composer: `composer require phpseclib/phpseclib:~1.0` |
||
1466 | daniel-mar | 54 | * [Download 1.0.23 as ZIP](http://sourceforge.net/projects/phpseclib/files/phpseclib1.0.23.zip/download) |
827 | daniel-mar | 55 | |
56 | ## Security contact information |
||
57 | |||
58 | To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure. |
||
59 | |||
60 | ## Support |
||
61 | |||
62 | Need Support? |
||
63 | |||
64 | * [Checkout Questions and Answers on Stack Overflow](http://stackoverflow.com/questions/tagged/phpseclib) |
||
65 | * [Create a Support Ticket on GitHub](https://github.com/phpseclib/phpseclib/issues/new) |
||
66 | * [Browse the Support Forum](http://www.frostjedi.com/phpbb/viewforum.php?f=46) (no longer in use) |
||
67 | |||
68 | ## Special Thanks |
||
69 | |||
70 | Special Thanks to our $50+ sponsors!: |
||
71 | |||
72 | - Allan Simon |
||
73 | - [ChargeOver](https://chargeover.com/) |
||
74 | |||
75 | ## Contributing |
||
76 | |||
77 | 1. Fork the Project |
||
78 | |||
79 | 2. Ensure you have Composer installed (see [Composer Download Instructions](https://getcomposer.org/download/)) |
||
80 | |||
81 | 3. Install Development Dependencies |
||
82 | ```sh |
||
83 | composer install |
||
84 | ``` |
||
85 | |||
86 | 4. Create a Feature Branch |
||
87 | |||
88 | 5. Run continuous integration checks: |
||
89 | ```sh |
||
90 | composer global require php:^8.1 squizlabs/php_codesniffer friendsofphp/php-cs-fixer vimeo/psalm |
||
91 | phpcs --standard=build/php_codesniffer.xml |
||
92 | php-cs-fixer fix --config=build/php-cs-fixer.php --diff --dry-run --using-cache=no |
||
93 | psalm --config=build/psalm.xml --no-cache --long-progress --report-show-info=false --output-format=text |
||
94 | vendor/bin/phpunit --verbose --configuration tests/phpunit.xml |
||
95 | ``` |
||
96 | |||
97 | 6. Send us a Pull Request |