-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
128 lines (128 loc) · 4.29 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "sgc-fireball/tinyframework",
"version": "0.1.0",
"description": "The TinyFramework PHP framework",
"keywords": [
"framework"
],
"homepage": "https://github.com/sgc-fireball/tinyframework",
"license": "CC-BY-4.0",
"type": "library",
"authors": [
{
"name": "Richard Hülsberg",
"email": "[email protected]"
}
],
"autoload": {
"files": [
"src/Helpers/functions.php"
],
"psr-4": {
"TinyFramework\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TinyFramework\\Tests\\": "tests/"
}
},
"require": {
"php": "^8.2||^8.3",
"ext-json": "*",
"ext-simplexml": "*",
"ext-readline": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-fileinfo": "*",
"ext-pcntl": "*",
"ext-intl": "*",
"ext-iconv": "*",
"ext-posix": "*",
"ext-calendar": "*",
"roave/security-advisories": "dev-latest"
},
"require-dev": {
"cyclonedx/cyclonedx-php-composer": "^4.2",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-strict-rules": "^1.5",
"phpunit/php-code-coverage": "^9.2",
"phpunit/php-file-iterator": "^3.0",
"phpunit/php-text-template": "^2.0",
"phpunit/php-timer": "^5.0",
"phpunit/php-token-stream": "^4.0",
"phpunit/phpcov": "^8.2",
"phpunit/phpunit": "^9.6",
"symplify/easy-coding-standard": "^11.5"
},
"suggest": {
"ext-amqp": "To use AMQP (RabbitMQ) Queues instanceof Sync or Redis Queues.",
"ext-apcu": "To store UUID Node id, otherwise we are using filesystem fallback.",
"ext-ftp": "To use FTP protocol helper.",
"ext-gd": "To use image helper wrapper.",
"ext-http": "To use HTTP protocol helper.",
"ext-imagick": "To use PDF helper.",
"ext-imap": "To use IMAP protocol helper.",
"ext-phar": "To build the hole application as a phar, if desired.",
"ext-redis": "To use Redis for Caching, Queues instanceof database or file systems.",
"ext-sodium": "To use curve encryption, for example jwt(EdDSA).",
"ext-sqlite3": "To use sqlite3 database engine.",
"ext-ssh2": "To use sftp filesystem.",
"ext-swoole": "To use swoole http server to speed up your application.",
"ext-mysqli": "To use mysqli database engine.",
"ext-yaml": "To use openapi validation.",
"swagger-api/swagger-ui": "To generate a dynamically and beautiful documentation from a openapi.yaml."
},
"support": {
"issues": "https://github.com/sgc-fireball/tinyframework/issues"
},
"prefer-stable": true,
"scripts": {
"post-install-cmd": [
"TinyFramework\\Composer\\Hook::postInstallCommand"
],
"post-update-cmd": [
"TinyFramework\\Composer\\Hook::postUpdateCommand"
],
"ecs": [
"@php -d xdebug.mode=off vendor/bin/parallel-lint --no-colors --no-progress --show-deprecated src/ tests/ #",
"@php -d xdebug.mode=off vendor/bin/ecs --fix"
],
"analyse": [
"@php -d xdebug.mode=off $(which composer) dump-autoload #",
"@php -d xdebug.mode=off vendor/bin/parallel-lint --no-colors --no-progress --show-deprecated src/ tests/ #",
"@php -d xdebug.mode=off vendor/bin/phpstan analyse"
],
"serve": [
"@php -d xdebug.mode=off -d variables_order=EGPCS -S 0.0.0.0:8000 -t src/Files/"
],
"test": [
"@php -d xdebug.mode=off $(which composer) dump-autoload #",
"@php -d xdebug.mode=off vendor/bin/parallel-lint --no-colors --no-progress --show-deprecated src/ tests/ #",
"@php -d xdebug.mode=coverage vendor/bin/phpunit"
],
"sbom": [
"mkdir -p .reports # ",
"@php -d xdebug.mode=off $(which composer) CycloneDX:make-sbom --output-format=xml --output-file=.reports/sbom.xml --omit=dev"
]
},
"scripts-descriptions": {
"analyse": "Dump autoload and analyse the source with phpstan!",
"test": "Starts the framework unit tests.",
"ecs": "Running easy coding standard.",
"serve": "Starting php internal webserver.",
"sbom": "Create a software bill of material report."
},
"config": {
"process-timeout": 0,
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true,
"cyclonedx/cyclonedx-php-composer": true
}
}
}