1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
Go to file
2016-08-24 11:02:28 -05:00
lib Fix return type docs for open 2016-08-14 20:42:33 +02:00
test Stream file handle support 2015-08-13 10:15:04 -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
CHANGELOG Replace all RuntimeExceptions with FilesystemExceptions 2016-03-24 18:31:44 +01:00
composer.json Update branch aliases 2016-08-24 11:02:28 -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