2012-06-10 11:27:23 +02:00
|
|
|
# phpseclib - PHP Secure Communications Library
|
|
|
|
|
2012-06-11 10:30:46 +02:00
|
|
|
[![Build Status](https://secure.travis-ci.org/phpseclib/phpseclib.png?branch=master)](http://travis-ci.org/phpseclib/phpseclib)
|
|
|
|
|
2012-06-10 11:27:23 +02:00
|
|
|
MIT-licensed pure-PHP implementations of an arbitrary-precision integer
|
|
|
|
arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael,
|
2013-06-10 16:55:41 +02:00
|
|
|
AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509
|
2012-06-10 11:27:23 +02:00
|
|
|
|
2014-02-23 02:03:22 +01:00
|
|
|
* [Download (0.3.6)](http://sourceforge.net/projects/phpseclib/files/phpseclib0.3.6.zip/download)
|
2012-06-10 11:27:23 +02:00
|
|
|
* [Browse Git](https://github.com/phpseclib/phpseclib)
|
2012-06-17 06:00:43 +02:00
|
|
|
* [Documentation](http://phpseclib.sourceforge.net/)
|
2012-06-10 11:27:23 +02:00
|
|
|
* [Support](http://www.frostjedi.com/phpbb/viewforum.php?f=46)
|
2013-11-23 21:59:15 +01:00
|
|
|
* [Code Coverage Report](http://phpseclib.bantux.org/code_coverage/master/latest/)
|
2012-06-10 11:27:23 +02:00
|
|
|
|
|
|
|
<img src="http://phpseclib.sourceforge.net/pear-icon.png" alt="PEAR Channel" width="16" height="16">
|
2012-06-11 10:30:46 +02:00
|
|
|
PEAR Channel: [phpseclib.sourceforge.net](http://phpseclib.sourceforge.net/pear.htm)
|
2014-04-12 20:15:34 +02:00
|
|
|
|
2014-04-15 16:51:50 +02:00
|
|
|
## Installing Development Dependencies
|
2014-04-12 20:15:34 +02:00
|
|
|
|
|
|
|
Dependencies are managed via Composer.
|
|
|
|
|
|
|
|
1. Download the [`composer.phar`](https://getcomposer.org/composer.phar) executable as per the
|
|
|
|
[Composer Download Instructions](https://getcomposer.org/download/), e.g. by running
|
|
|
|
|
|
|
|
``` sh
|
|
|
|
curl -sS https://getcomposer.org/installer | php
|
|
|
|
```
|
|
|
|
|
|
|
|
2. Install Dependencies
|
|
|
|
|
|
|
|
``` sh
|
|
|
|
php composer.phar install --dev
|
|
|
|
```
|
2014-04-12 20:26:27 +02:00
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
2014-04-12 20:35:30 +02:00
|
|
|
1. Fork the Project
|
2014-04-12 20:26:27 +02:00
|
|
|
|
2014-04-15 16:51:50 +02:00
|
|
|
2. Install Development Dependencies
|
2014-04-12 20:26:27 +02:00
|
|
|
|
2014-04-12 20:35:30 +02:00
|
|
|
3. Create a Feature Branch
|
2014-04-12 20:26:27 +02:00
|
|
|
|
2014-04-12 20:35:30 +02:00
|
|
|
4. (Recommended) Run the Test Suite
|
2014-04-12 20:26:27 +02:00
|
|
|
|
|
|
|
``` sh
|
|
|
|
vendor/bin/phpunit
|
|
|
|
```
|
2014-04-12 20:35:30 +02:00
|
|
|
5. (Recommended) Check whether your code conforms to our Coding Standards by running
|
2014-04-12 20:26:27 +02:00
|
|
|
|
|
|
|
``` sh
|
|
|
|
vendor/bin/phing -f build/build.xml sniff
|
|
|
|
```
|
|
|
|
|
2014-04-12 20:35:30 +02:00
|
|
|
6. Send us a Pull Request
|