diff options
author | Remi Collet <remi@remirepo.net> | 2025-02-13 08:20:05 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-02-13 08:20:05 +0100 |
commit | b9b9380d5b87b0b634ae3643417df23cac50d410 (patch) | |
tree | b05894df4dc79c3067ed98c5af0b09ff95cd1aa4 /composer.json |
dup v5
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..0d3ec06 --- /dev/null +++ b/composer.json @@ -0,0 +1,69 @@ +{ + "name": "sabre/event", + "description": "sabre/event is a library for lightweight event-based programming", + "keywords": [ + "Events", + "EventEmitter", + "Promise", + "Hooks", + "Plugin", + "Signal", + "Async", + "EventLoop", + "Reactor", + "Coroutine" + ], + "homepage": "http://sabre.io/event/", + "license": "BSD-3-Clause", + "require": { + "php": "^7.1 || ^8.0" + }, + "authors": [ + { + "name": "Evert Pot", + "email": "me@evertpot.com", + "homepage": "http://evertpot.com/", + "role": "Developer" + } + ], + "support": { + "forum": "https://groups.google.com/group/sabredav-discuss", + "source": "https://github.com/fruux/sabre-event" + }, + "autoload": { + "psr-4": { + "Sabre\\Event\\": "lib/" + }, + "files" : [ + "lib/coroutine.php", + "lib/Loop/functions.php", + "lib/Promise/functions.php" + ] + }, + "autoload-dev": { + "psr-4" : { + "Sabre\\Event\\" : "tests/Event" + } + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "~2.17.1||^3.63", + "phpstan/phpstan": "^0.12", + "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6" + }, + "scripts": { + "phpstan": [ + "phpstan analyse lib tests" + ], + "cs-fixer": [ + "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix" + ], + "phpunit": [ + "phpunit --configuration tests/phpunit.xml" + ], + "test": [ + "composer phpstan", + "composer cs-fixer", + "composer phpunit" + ] + } +} |