1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
file/composer.json
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

86 lines
2.0 KiB
JSON

{
"name": "amphp/file",
"homepage": "https://github.com/amphp/file",
"description": "Non-blocking access to the filesystem based on Amp and Revolt.",
"support": {
"issues": "https://github.com/amphp/file/issues"
},
"keywords": [
"file",
"disk",
"static",
"async",
"non-blocking",
"amp",
"amphp",
"io",
"filesystem"
],
"license": "MIT",
"authors": [
{
"name": "Daniel Lowrey",
"email": "rdlowrey@php.net"
},
{
"name": "Aaron Piotrowski",
"email": "aaron@trowski.com"
},
{
"name": "Niklas Keller",
"email": "me@kelunik.com"
}
],
"require": {
"php": ">=8.1",
"amphp/amp": "^3",
"amphp/byte-stream": "^2",
"amphp/cache": "^2",
"amphp/parallel": "^2",
"amphp/sync": "^2",
"revolt/event-loop": "^0.2.1"
},
"require-dev": {
"amphp/phpunit-util": "^3",
"phpunit/phpunit": "^9",
"psalm/phar": "^4.20",
"amphp/php-cs-fixer-config": "^2-dev"
},
"suggest": {
"ext-eio": "^2 || ^3",
"ext-uv": "^0.3 || ^0.2"
},
"minimum-stability": "beta",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Amp\\File\\": "src"
},
"files": ["src/functions.php"]
},
"autoload-dev": {
"psr-4": {
"Amp\\File\\Test\\": "test",
"Amp\\Sync\\": "vendor/amphp/sync/test"
}
},
"config": {
"preferred-install": {
"amphp/sync": "source"
}
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
},
"scripts": {
"check": [
"@code-style",
"@test"
],
"code-style": "php-cs-fixer fix -v --diff",
"test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text"
}
}