1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 11:54:54 +01:00
Go to file
2015-08-08 11:21:50 -04:00
lib Do not skip scandir test (bug fixed in php-uv repo) 2015-08-08 16:53:40 +02:00
test add test timeouts to figure out why travis build hangs 2015-08-08 11:21:50 -04: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 Add PHP 7 coverage 2015-08-07 17:56:04 +02:00
composer.json Add PHP 7 coverage 2015-08-07 17:56:04 +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
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