Non-blocking access to the filesystem for PHP based on Amp.
Clone or download
Latest commit 8cfe851 Oct 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Add truncate() to Handle Oct 29, 2018
test
travis Fix script permissions May 18, 2017
.gitattributes Ignore docs/asset on export May 16, 2018
.gitignore
.php_cs.dist Use shared style defintions; update styles Oct 27, 2018
.travis.yml Update travis cache directories Oct 27, 2018
CHANGELOG EioDriver and UvDriver did not pass O_TRUNC in file\put Oct 1, 2016
CONTRIBUTING.md update contributing Jul 22, 2015
LICENSE
Makefile Fix code style Jun 17, 2017
README.md Remove stable badge Jun 21, 2017
composer.json
phpunit.xml.dist Upgrade to PHPUnit 6 May 18, 2017

README.md

file

Build Status CoverageStatus License

amphp/file allows non-blocking access to the filesystem for Amp.

Installation

This package can be installed as a Composer dependency.

composer require amphp/file

Optional Extension Backends

Extensions allow to use threading in the background instead of using multiple processes.

amphp/file works out of the box without any PHP extensions. It uses multi-processing by default, but also comes with a blocking driver that just uses PHP's blocking functions in the current process.

Versioning

amphp/file follows the semver semantic versioning specification like all other amphp packages.

Security

If you discover any security related issues, please email me@kelunik.com instead of using the issue tracker.

License

The MIT License (MIT). Please see LICENSE for more information.