forked from chaosarium/lwt
-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathcomposer.json
More file actions
108 lines (108 loc) · 3.84 KB
/
composer.json
File metadata and controls
108 lines (108 loc) · 3.84 KB
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
{
"name": "hugofara/lwt",
"description": "Learn languages by reading, this is a community maintained version.",
"type": "library",
"keywords": ["language-learning","reading","lwt","Learning-with-Texts"],
"homepage": "https://hugofara.github.io/lwt/",
"license": "Unlicense",
"minimum-stability": "stable",
"support": {
"docs": "https://hugofara.github.io/lwt",
"forum": "https://github.com/HugoFara/lwt/discussions",
"issues": "https://github.com/HugoFara/lwt/issues",
"source": "https://github.com/HugoFara/lwt"
},
"autoload": {
"psr-4": {
"Lwt\\": "src/backend/",
"Lwt\\Shared\\": "src/Shared/",
"Lwt\\Modules\\": "src/Modules/"
},
"files": [
"src/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Lwt\\Tests\\": "tests/backend/"
}
},
"require": {
"php": "^8.2 | ^8.3 | ^8.4 | ^8.5",
"ext-mbstring": "*",
"ext-mysqli": "*",
"ext-dom": "*",
"ext-zip": "*",
"phpmailer/phpmailer": "^7.0",
"league/oauth2-google": "^5.0",
"thenetworg/oauth2-azure": "^2.2",
"kiwilan/php-ebook": "^3.0"
},
"require-dev": {
"vimeo/psalm": "^6.15",
"phpunit/phpunit": "^11.5",
"league/commonmark": "^2.7",
"phpdocumentor/shim": "*",
"squizlabs/php_codesniffer": "^4.0"
},
"suggest": {
"squizlabs/php_codesniffer": "Following code style standards is a good thing"
},
"scripts": {
"test:cleanup-db": "@php tests/cleanup_db_connections.php",
"test:setup-db": "@php tests/setup_test_db.php",
"test:reset-db": "@php tests/setup_test_db.php --drop",
"test:db-status": "@php tests/setup_test_db.php --status",
"test": [
"@test:cleanup-db",
"XDEBUG_MODE=coverage vendor/bin/phpunit"
],
"test:no-coverage": [
"@test:cleanup-db",
"vendor/bin/phpunit --no-coverage"
],
"test:integration": [
"@test:setup-db",
"@test:cleanup-db",
"vendor/bin/phpunit --no-coverage --group integration"
],
"psalm": "vendor/bin/psalm",
"phpcs": "vendor/bin/phpcs",
"phpcbf": "vendor/bin/phpcbf",
"doc": [
"npm run docs:build",
"./node_modules/.bin/typedoc",
"./vendor/bin/phpdoc"
],
"build": "npm run build:all",
"clean-doc": [
"rm -rf docs/guide docs/reference docs/developer docs/legal docs/assets docs/hashmap.json",
"rm -f docs/changelog.html docs/index.html docs/404.html",
"rm -rf docs/api/js",
"rm -rf docs/api/php"
]
},
"scripts-descriptions": {
"test:cleanup-db": "Kill stale test database connections",
"test:setup-db": "Create test database and apply all migrations",
"test:reset-db": "Drop and recreate test database from scratch",
"test:db-status": "Show test database status (tables, migrations, FK constraints)",
"test:integration": "Run integration tests (requires database)",
"test": "Run all tests with coverage (cleans up stale DB connections first)",
"test:no-coverage": "Run all tests without coverage (cleans up stale DB connections first)",
"psalm": "Run Psalm static analysis",
"phpcs": "Check PHP code style (PSR-12)",
"phpcbf": "Auto-fix PHP code style issues",
"doc": "Regenerate all documentation (VitePress + TypeDoc + phpDoc)",
"build": "Build frontend assets (Vite + themes)",
"clean-doc": "Clear generated documentation"
},
"config": {
"allow-plugins": {
"phpdocumentor/shim": true
},
"platform": {
"php": "8.2.27"
}
}
}