PHP Secure Communications Library
Go to file
Andreas Fischer ba46db1758 Merge pull request #713 from bantu/SFTPStreamTest
Various fixes to fopen mode handling in SFTP Stream

* bantu/SFTPStreamTest:
  Explicitly set size to 0 when creating or truncating.
  mode[0] of 'c' is not supposed to truncate.
  Need to create the file when it does not exist and mode[0] is not 'r'.
  Add SFTPStreamTest::testFopenFcloseCreatesFile()

Conflicts:
	tests/Functional/Net/SFTPLargeFileTest.php
2015-07-04 01:18:19 +02:00
build Merge branch '1.0' into 2.0 2015-02-04 18:16:50 +01:00
phpseclib Merge pull request #713 from bantu/SFTPStreamTest 2015-07-04 01:18:19 +02:00
tests Merge pull request #713 from bantu/SFTPStreamTest 2015-07-04 01:18:19 +02:00
travis SSH agent forwarding implementation 2014-12-30 10:44:31 +08:00
.gitattributes added build status and extra lines 2012-06-11 02:30:46 -06:00
.gitignore Only apply git ignores relative to repository root. 2013-11-23 20:33:37 +01:00
.scrutinizer.yml Increase the external_code_coverage timeout even more. Still timing out. 2015-06-25 12:08:34 +02:00
.travis.yml PHP 5.2 is not supported by travis anymore 2015-02-07 15:44:23 +00:00
AUTHORS AUTHORS: add more developers 2013-03-11 16:36:27 -05:00
CHANGELOG.md CHANGELOG: add clarification 2015-02-09 07:56:10 -06:00
composer.json composer.json: update PHP_Compat requirements 2015-05-24 12:10:12 -05:00
composer.lock Merge branch '1.0' into 2.0 2015-02-08 16:58:37 +01:00
LICENSE Updated LICENSE 2013-11-23 21:18:24 +01:00
phpunit.xml.dist Split Unit/Functional Test Suites. 2014-06-01 21:13:20 +02:00
README.md Merge branch '1.0' into 2.0 2015-05-07 08:19:02 -05:00

phpseclib - PHP Secure Communications Library

Build Status

MIT-licensed pure-PHP implementations of an arbitrary-precision integer arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509

PEAR Channel PEAR Channel: [phpseclib.sourceforge.net](http://phpseclib.sourceforge.net/pear.htm)

Documentation

Support

Need Support?

Installing Development Dependencies

Dependencies are managed via Composer.

  1. Download the composer.phar executable as per the Composer Download Instructions, e.g. by running

    curl -sS https://getcomposer.org/installer | php
    
  2. Install Dependencies

    php composer.phar install --dev
    

Contributing

  1. Fork the Project

  2. Install Development Dependencies

  3. Create a Feature Branch

  4. (Recommended) Run the Test Suite

    vendor/bin/phpunit
    
  5. (Recommended) Check whether your code conforms to our Coding Standards by running

    vendor/bin/phing -f build/build.xml sniff
    
  6. Send us a Pull Request