1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 11:54:54 +01:00
Go to file
Aaron Piotrowski 1f264d949e Revert "Use byte-stream package"
This reverts commit ffde7791d7.

Oops… wrong branch.
2017-05-12 10:12:44 -05:00
lib Revert "Use byte-stream package" 2017-05-12 10:12:44 -05:00
test Update for async-interop merge and other Amp changes 2017-03-16 22:39:49 -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 Revert "Use byte-stream package" 2017-05-12 10:12:44 -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 Update for amp/1, remove descriptor handles 2015-07-30 09:07:01 -04: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