1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 11:54:54 +01:00
Go to file
2017-05-17 22:58:39 -05:00
lib Function for parsing mode 2017-05-17 22:34:27 -05:00
test Upgrade to PHPUnit 6 2017-05-17 22:58:39 -05:00
.coveralls.yml get travis coveralls working 2015-07-19 12:28:05 -04:00
.gitattributes update suport files to match amphp repo template 2015-07-28 09:53:00 -04:00
.gitignore add .idea directory to gitignore 2015-07-19 12:12:53 -04:00
.php_cs [WIP] initial code commit 2015-07-17 10:10:44 -04:00
.travis.yml Update travis build 2016-12-29 21:00:05 -06:00
CHANGELOG EioDriver and UvDriver did not pass O_TRUNC in file\put 2016-10-01 18:43:52 +01:00
composer.json Upgrade to PHPUnit 6 2017-05-17 22:58:39 -05:00
CONTRIBUTING.md update contributing 2015-07-22 13:49:02 -04:00
LICENSE Initial commit 2015-07-10 21:56:20 -04:00
phpunit.xml.dist Upgrade to PHPUnit 6 2017-05-17 22:58:39 -05:00
README.md Transition from Filesystem -> File 2015-08-05 10:55:56 -04:00

file

Build Status CoverageStatus Unstable License

amphp/file is a non-blocking filesystem library for use with the amp concurrency framework.

Dependencies

  • PHP 5.5+
  • eio
  • php-uv (experimental, requires PHP7)

amphp/file works out of the box without any PHP extensions but it does so using blocking functions. This capability only exists to simplify development across environments where extensions may not be present. Using amphp/file in production without pecl/eio or php-uv is NOT recommended.

Current Version

amphp/file is currently pre-alpha software and has no tagged releases. Your mileage may vary.

Installation

$ composer require amphp/file:dev-master

TODO

  • seek/read/write to/from specific offsets on open file handles
  • expose API for receiving notifications when files/directories are modified