2015-07-18 21:06:19 +02:00
|
|
|
# amp/fs
|
|
|
|
|
|
|
|
[![Unstable](https://travis-ci.org/amphp/fs.svg?branch=master)](https://travis-ci.org/amphp/fs)
|
|
|
|
![Unstable](https://img.shields.io/badge/pre_alpha-unstable-orange.svg)
|
2015-07-11 03:59:39 +02:00
|
|
|
|
|
|
|
`amp/fs` is a non-blocking filesystem manipulation library for use with the
|
|
|
|
[amp concurrency framework](https://github.com/amphp/amp).
|
|
|
|
|
|
|
|
**Dependencies**
|
|
|
|
|
|
|
|
- PHP 5.5+
|
2015-07-18 21:06:19 +02:00
|
|
|
- [eio](https://pecl.php.net/package/eio)
|
|
|
|
- [php-uv](https://github.com/bwoebi/php-uv) (experimental, requires PHP7)
|
2015-07-11 03:59:39 +02:00
|
|
|
|
|
|
|
`amp/fs` works out of the box without any PHP extensions. However, it does so
|
|
|
|
in a blocking manner. This capability only exists to simplify development across
|
2015-07-18 21:06:19 +02:00
|
|
|
environments where extensions may not be present.
|
|
|
|
|
|
|
|
> **NOTE**
|
2015-07-18 21:12:56 +02:00
|
|
|
> Using this library in production without pecl/eio or php-uv is **NOT** recommended.
|
2015-07-11 03:59:39 +02:00
|
|
|
|
|
|
|
**Current Version**
|
|
|
|
|
2015-07-18 21:06:19 +02:00
|
|
|
`amp/fs` is currently pre-alpha software and has no tagged releases. Your mileage may vary.
|
2015-07-11 03:59:39 +02:00
|
|
|
|
|
|
|
**Installation**
|
|
|
|
|
|
|
|
```bash
|
2015-07-18 21:06:19 +02:00
|
|
|
$ composer require amphp/fs
|
2015-07-11 03:59:39 +02:00
|
|
|
```
|