Allows non-blocking access to the filesystem for Amp.

Fund package maintenance!

Installs: 1 215 854

Dependents: 49

Suggesters: 2

Security: 0

Stars: 59

Watchers: 10

Forks: 18

Open Issues: 9

v2.0.2 2021-09-20 04:35 UTC


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 using 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.