1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
Go to file
Aaron Piotrowski ee8f10f512
Update for changes to Closable interface
Also require PHP 8.1 and use features.
2022-03-28 18:05:56 -05:00
.github/workflows Update for changes to Closable interface 2022-03-28 18:05:56 -05:00
examples Add very basic example for psalm 2022-02-08 21:26:46 +01:00
src Update for changes to Closable interface 2022-03-28 18:05:56 -05:00
test Update for changes to Closable interface 2022-03-28 18:05:56 -05:00
.gitattributes Upgrade to php-cs-fixer v3 2022-02-08 21:34:54 +01:00
.gitignore Add psalm, require check 2022-02-08 21:16:59 +01:00
.php-cs-fixer.dist.php Upgrade to php-cs-fixer v3 2022-02-08 21:34:54 +01:00
composer-require-check.json Add psalm, require check 2022-02-08 21:16:59 +01:00
composer.json Update for changes to Closable interface 2022-03-28 18:05:56 -05:00
LICENSE Upgrade to php-cs-fixer v3 2022-02-08 21:34:54 +01:00
phpunit.xml.dist Refactor for Amp v3 2020-10-22 00:35:54 -05:00
psalm.xml Update for changes to Closable interface 2022-03-28 18:05:56 -05:00
README.md Migrate to GitHub actions 2021-06-21 21:08:24 +02:00

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

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.