-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
111 lines (111 loc) · 3.52 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"$schema": "https://getcomposer.org/schema.json",
"name": "rayleigh/framework",
"description": "Simple, Short, Smart framework - Rayleigh",
"type": "library",
"keywords": [
"framework",
"http",
"server"
],
"homepage": "https://heavyrain-php.github.io/rayleigh/",
"readme": "README.md",
"license": "Apache-2.0",
"autoload": {
"psr-4": {
"Rayleigh\\": "src/"
},
"exclude-from-classmap": [
"*/Tests/"
]
},
"replace": {
"rayleigh/cache": "self.version",
"rayleigh/clock": "self.version",
"rayleigh/config": "self.version",
"rayleigh/console": "self.version",
"rayleigh/container": "self.version",
"rayleigh/contracts": "self.version",
"rayleigh/database": "self.version",
"rayleigh/event-dispatcher": "self.version",
"rayleigh/http-client": "self.version",
"rayleigh/http-factory": "self.version",
"rayleigh/http-message": "self.version",
"rayleigh/http-server": "self.version",
"rayleigh/idl-openapi": "self.version",
"rayleigh/log": "self.version"
},
"authors": [
{
"name": "Masaru Yamagishi",
"email": "[email protected]"
}
],
"support": {
"docs": "https://heavyrain-php.github.io/rayleigh/",
"issues": "https://github.com/heavyrain-php/rayleigh/issues",
"source": "https://github.com/heavyrain-php/rayleigh/"
},
"require": {
"php": "~8.2.0|~8.3.0",
"ext-pdo": "*",
"psr/cache": "^3.0.0",
"psr/clock": "^1.0.0",
"psr/container": "^2.0.0",
"psr/event-dispatcher": "^1.0.0",
"psr/http-client": "^1.0.0",
"psr/http-factory": "^1.0.0",
"psr/http-message": "^2.0.0",
"psr/http-server-handler": "^1.0.0",
"psr/http-server-middleware": "^1.0.0",
"psr/log": "^2.0.0|^3.0.0",
"psr/simple-cache": "^3.0.0"
},
"require-dev": {
"ext-pdo_mysql": "*",
"cakephp/chronos": "^3.0.0",
"monolog/monolog": "^3.7.0",
"nesbot/carbon": "^3.0.0",
"phpunit/phpunit": "^11.2.9",
"spiral/roadrunner-http": "^3.5.0"
},
"suggest": {
"ext-pdo_mysql": "Required for MySQL database",
"ext-protobuf": "When you use RoadRunnerHttpDispatcher, it is highly recommended for performance",
"cakephp/chronos": "Required when you use Chronos for Clock",
"monolog/monolog": "Required when you use Monolog for logging",
"nesbot/carbon": "Required when you use CarbonImmutable for Clock",
"spiral/roadrunner-http": "Required when you use RoadRunnerHttpDispatcher"
},
"provide": {
"psr/cache-implementation": "3.0.0",
"psr/clock-implementation": "1.0",
"psr/container-implementation": "2.0.2",
"psr/event-dispatcher-implementation": "1.0",
"psr/http-client-implementation": "1.0.3",
"psr/http-factory-implementation": "1.1.0",
"psr/http-message-implementation": "2.0",
"psr/http-server-handler-implementation": "1.0.2",
"psr/http-server-middleware-implementation": "1.0.2",
"psr/log-implementation": "3.0",
"psr/simple-cache-implementation": "3.0.0"
},
"scripts": {
"lint": [
"./tools/phpstan analyse src",
"./tools/psalm",
"./tools/php-cs-fixer check"
],
"fix": "./tools/php-cs-fixer fix",
"test": "phpunit",
"coverage": "php -d pcov.enabled=1 vendor/bin/phpunit --coverage-html=coverage",
"coverage-html": "php -S localhost:8080 -t coverage",
"coverage-xml": "php -d pcov.enabled=1 vendor/bin/phpunit --coverage-clover=coverage.xml"
},
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
}
}