1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 11:54:54 +01:00
Go to file
2017-06-17 23:41:57 +02:00
lib Fix code style 2017-06-17 23:41:57 +02:00
test Fix code style 2017-06-17 23:41:57 +02:00
travis Fix script permissions 2017-05-18 11:15:29 -05:00
.gitattributes update suport files to match amphp repo template 2015-07-28 09:53:00 -04:00
.gitignore Fix code style 2017-06-17 23:41:57 +02:00
.php_cs.dist Fix code style 2017-06-17 23:41:57 +02:00
.travis.yml Remove outdated .coveralls.yml 2017-06-16 13:34:38 +02:00
CHANGELOG EioDriver and UvDriver did not pass O_TRUNC in file\put 2016-10-01 18:43:52 +01:00
composer.json Require amphp/parallel, use stable libs 2017-06-16 13:31:28 +02:00
CONTRIBUTING.md update contributing 2015-07-22 13:49:02 -04:00
LICENSE Initial commit 2015-07-10 21:56:20 -04:00
Makefile Fix code style 2017-06-17 23:41:57 +02: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