/
composer.json
50 lines (50 loc) · 1.22 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "siriusphp/invokator",
"description": "Library that implements a unified way to execute a list of commands/callables that are used by various patterns: events, pipelines, middleware etc",
"type": "library",
"license": "MIT",
"keywords": [
"callables",
"events",
"middleware",
"invoker",
"pipelines"
],
"authors": [
{
"name": "Adrian Miu",
"email": "adrian@sirius.ro"
}
],
"require": {
"php": "^8.0|^8.1|^8.2",
"psr/container": "^2.0",
"psr/event-dispatcher": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"phpstan/phpstan": "^1.10"
},
"autoload": {
"files": [
"src/functions.php"
],
"psr-4": {
"Sirius\\Invokator\\": "src/"
}
},
"provide": {
"psr/event-dispatcher-implementation": "1.0"
},
"scripts": {
"stan": [
"php vendor/bin/phpstan analyse"
],
"csfix": [
"tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --standard=PSR-2 src"
],
"test": [
"php vendor/bin/phpunit -c tests/phpunit.xml"
]
}
}