/file

Non-blocking access to the filesystem for PHP based on Amp.

Primary LanguagePHPMIT LicenseMIT

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.