Non-blocking access to the filesystem for PHP based on Amp.
Clone or download
Latest commit 8cfe851 Oct 29, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Add truncate() to Handle Oct 29, 2018
travis Fix script permissions May 18, 2017
.gitattributes Ignore docs/asset on export May 16, 2018
.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 update contributing Jul 22, 2015
Makefile Fix code style Jun 17, 2017 Remove stable badge Jun 21, 2017
phpunit.xml.dist Upgrade to PHPUnit 6 May 18, 2017


Build Status CoverageStatus License

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


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.


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


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


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